app/models/fastui/m_role.rb in fastui-0.1.7 vs app/models/fastui/m_role.rb in fastui-0.1.8
- old
+ new
@@ -1,10 +1,10 @@
module Fastui
class MRole < MObject
# attr_accessible :title, :body
- attr_accessible :person_ids
- has_many :m_relationships, :foreign_key => 'm_role_id', :class_name => 'Fastui::MRelationship'
- has_many :people, :through => :m_relationships, :source => :m_person
+ attr_accessible :m_person_ids
+ has_many :m_role_assignments, :foreign_key => 'm_role_id', :class_name => 'Fastui::MRoleAssignment'
+ has_many :m_people, :through => :m_role_assignments, :source => :m_person
end
end