ensl.org/app
Absurdon e93588591b
Fix #131 Updating users may fail
Issue:
When a team gets deleted team_id is not properly cleared from users who
have set the team to be deleted as their main. When now someone trys
an operation that validates the user it fails as the team_id set on that
user is not valid anymore.

Solution:
To prevent this from happening in the future update users and set
team_id to nil.

Clean up:
To clean up existing users run
UPDATE users SET team_id=NULL WHERE team_id NOT IN(SELECT id FROM
teams);
2019-08-24 20:17:14 +02:00
..
assets Restructuring navigation and replacing some hardcoded article URLs with new dynamic custom URLs 2017-11-12 18:50:43 +01:00
controllers Partially fix gather removal bug 2019-06-07 22:47:21 +03:00
helpers Restructuring navigation and replacing some hardcoded article URLs with new dynamic custom URLs 2017-11-12 18:50:43 +01:00
mailers Purged git history and removed sensitive information. 2014-03-23 00:22:25 +00:00
models Fix #131 Updating users may fail 2019-08-24 20:17:14 +02:00
services Fixed calendar widget entries showin in wrong order 2017-04-04 17:24:37 +02:00
uploaders Removed unused rails plugins & code/comments 2014-03-24 14:23:08 +00:00
views Partially fix gather removal bug 2019-06-07 22:47:21 +03:00