Sha256: e089892d3ba2adaa7449fa8dacb68891d6c9de2661abb613baa15ff22a082625
Contents?: true
Size: 300 Bytes
Versions: 8
Compression:
Stored size: 300 Bytes
Contents
class PartyRole < ActiveRecord::Base attr_protected :created_at, :updated_at belongs_to :party, :class_name => "Party", :foreign_key => "party_id" belongs_to :role_type, :class_name => "RoleType", :foreign_key => "role_type_id" def to_label self.role_type.description end end
Version data entries
8 entries across 8 versions & 1 rubygems