Sha256: 8b0305dbffa7520544115d32def2658e26658b85b5298eaba1593bf6f0d749af

Contents?: true

Size: 186 Bytes

Versions: 23

Compression:

Stored size: 186 Bytes

Contents

class Employee < ActiveRecord::Base
	belongs_to :department, :foreign_key => [:department_id, :location_id]
	has_many :comments, :as => :person
	has_and_belongs_to_many :groups
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
composite_primary_keys-7.0.16 test/fixtures/employee.rb
composite_primary_keys-7.0.15 test/fixtures/employee.rb
composite_primary_keys-7.0.14 test/fixtures/employee.rb