search for: permission_nam

Displaying 1 result from an estimated 1 matches for "permission_nam".

Did you mean: permission_names
2011 Apr 07
3
Need help in changing data in production.
...n server and I don''t know what''s the best way to do it. To handle the permissions in the older version of my system I had two models: Group and Permision. class Group < ActiveRecord::Base has_many :actions end class Permission < ActiveRecord::Base belongs_to :group PERMISSION_NAMES = "..." end I stored the application permissions inside the model. Now I did a lot of changes in this code and it looks something like this: class Group < ActiveRecord::Base has_many :actions end class Action < ActiveRecord::Base belongs_to :group belongs_to :permission e...