Sha256: 079fad8b5978aec5d1c53e1cfb97c8987b54f99d1f43cc371f0d139487751648

Contents?: true

Size: 164 Bytes

Versions: 12

Compression:

Stored size: 164 Bytes

Contents

class Student < ActiveRecord::Base
  has_many :room_assignments
  has_many :rooms, :through => :room_assignments, :foreign_key => [:building_code, :room_number]
end

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
tyler-composite_primary_keys-1.1.0 test/fixtures/student.rb
composite_primary_keys-3.1.2 test/fixtures/student.rb
composite_primary_keys-3.1.1 test/fixtures/student.rb
composite_primary_keys-3.1.0 test/fixtures/student.rb
composite_primary_keys-3.0.9 test/fixtures/student.rb
composite_primary_keys-3.0.8 test/fixtures/student.rb
composite_primary_keys-3.0.7 test/fixtures/student.rb
composite_primary_keys-3.0.4 test/fixtures/student.rb
composite_primary_keys-3.0.3 test/fixtures/student.rb
composite_primary_keys-3.0.0.b3 test/fixtures/student.rb
composite_primary_keys-3.0.0.b2 test/fixtures/student.rb
globe-composite_primary_keys-3.0.1 test/fixtures/student.rb