Commented out other deprecated user<-->organisation methods so that they use the user.organisation_id field instead of the user.organisations structure. This needs to be cleaned up and overhauled in the user and organisation models so that user belongs to an organisation and organisations have many users, and any references to the old code need to be updated.
dev
1 parent 1133097 commit d159e1fd572ae53a0d737a459d63ea9ad1694e42
@briley briley authored on 6 Sep 2016
Showing 1 changed file
View
app/models/user.rb