Sha256: 4aebcb7c17aab90a1908daf8bebbda9d58e7ef520bb880e4c79bf1225d960883

Contents?: true

Size: 188 Bytes

Versions: 102

Compression:

Stored size: 188 Bytes

Contents

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

Version data entries

102 entries across 102 versions & 1 rubygems

Version Path
composite_primary_keys-5.0.1 test/fixtures/student.rb
composite_primary_keys-5.0.0 test/fixtures/student.rb
composite_primary_keys-5.0.0.rc1 test/fixtures/student.rb
composite_primary_keys-4.1.2 test/fixtures/student.rb
composite_primary_keys-4.1.1 test/fixtures/student.rb
composite_primary_keys-4.0.0 test/fixtures/student.rb
composite_primary_keys-4.0.0.beta9 test/fixtures/student.rb
composite_primary_keys-4.0.0.beta8 test/fixtures/student.rb
composite_primary_keys-4.0.0.beta7 test/fixtures/student.rb
composite_primary_keys-4.0.0.beta6 test/fixtures/student.rb
composite_primary_keys-4.0.0.beta5 test/fixtures/student.rb
composite_primary_keys-4.0.0.beta4 test/fixtures/student.rb
composite_primary_keys-4.0.0.beta3 test/fixtures/student.rb
composite_primary_keys-3.1.10 test/fixtures/student.rb
composite_primary_keys-4.0.0.beta2 test/fixtures/student.rb
composite_primary_keys-4.0.0.beta1 test/fixtures/student.rb
composite_primary_keys-3.1.9 test/fixtures/student.rb
composite_primary_keys-3.1.8 test/fixtures/student.rb
composite_primary_keys-3.1.7 test/fixtures/student.rb
composite_primary_keys-3.1.6 test/fixtures/student.rb