Sha256: 551faab8657012f69a2ba75a7e6059a1e5d14b48c2d01b80d2753cf6dcd00d3c

Contents?: true

Size: 302 Bytes

Versions: 5

Compression:

Stored size: 302 Bytes

Contents

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



  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fastui-0.1.7 app/models/fastui/m_role.rb
fastui-0.1.6 app/models/fastui/m_role.rb
fastui-0.1.4 app/models/fastui/m_role.rb
fastui-0.1.3 app/models/fastui/m_role.rb
fastui-0.1.2 app/models/fastui/m_role.rb