Sha256: bbee6327fc1aa6f518e1ca440be6bea2c9be7d492b823b13afb8d4a1c74fda10
Contents?: true
Size: 502 Bytes
Versions: 8
Compression:
Stored size: 502 Bytes
Contents
class PartyRelationship < ActiveRecord::Base attr_protected :created_at, :updated_at belongs_to :from_party, :class_name => "Party", :foreign_key => "party_id_from" belongs_to :to_party, :class_name => "Party", :foreign_key => "party_id_to" belongs_to :from_role, :class_name => "RoleType", :foreign_key => "role_type_id_from" belongs_to :to_role, :class_name => "RoleType", :foreign_key => "role_type_id_to" belongs_to :relationship_type, :class_name => "RelationshipType" end
Version data entries
8 entries across 8 versions & 1 rubygems