Sha256: 8b72669c2cc939dde000e5e1af5cbbabb2eb5db7e3d2b65bbc5c86f6979c0fe8

Contents?: true

Size: 198 Bytes

Versions: 33

Compression:

Stored size: 198 Bytes

Contents

class RoomAttributeAssignment < ActiveRecord::Base
  set_primary_keys :dorm_id, :room_id, :room_attribute_id
  belongs_to :room, :foreign_key => [:dorm_id, :room_id]
  belongs_to :room_attribute
end

Version data entries

33 entries across 33 versions & 3 rubygems

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