Sha256: 2630e93ed6756707cfa23ace567acac349e2bfe9c3a1d6631657de0395454170

Contents?: true

Size: 337 Bytes

Versions: 7

Compression:

Stored size: 337 Bytes

Contents

class RelationshipType < ActiveRecord::Base
  attr_protected :created_at, :updated_at

  acts_as_nested_set
  acts_as_erp_type

  belongs_to :valid_from_role, :class_name => "RoleType", :foreign_key => "valid_from_role_type_id"
  belongs_to :valid_to_role, :class_name => "RoleType", :foreign_key => "valid_to_role_type_id"
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
erp_base_erp_svcs-4.0.0 app/models/relationship_type.rb
erp_base_erp_svcs-3.1.5 app/models/relationship_type.rb
erp_base_erp_svcs-3.1.4 app/models/relationship_type.rb
erp_base_erp_svcs-3.1.3 app/models/relationship_type.rb
erp_base_erp_svcs-3.1.2 app/models/relationship_type.rb
erp_base_erp_svcs-3.1.1 app/models/relationship_type.rb
erp_base_erp_svcs-3.1.0 app/models/relationship_type.rb