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-3.1.5 test/fixtures/student.rb
composite_primary_keys-3.1.4 test/fixtures/student.rb