Sha256: e3db6f969eb0937364ad38efe9986cc99cc2b6174237d0e793bdc8ed2178f5bb

Contents?: true

Size: 205 Bytes

Versions: 29

Compression:

Stored size: 205 Bytes

Contents

class RoomAttributeAssignment < ActiveRecord::Base
  self.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

29 entries across 29 versions & 1 rubygems

Version Path
composite_primary_keys-13.0.1 test/fixtures/room_attribute_assignment.rb
composite_primary_keys-13.0.0 test/fixtures/room_attribute_assignment.rb
composite_primary_keys-12.0.10 test/fixtures/room_attribute_assignment.rb
composite_primary_keys-12.0.9 test/fixtures/room_attribute_assignment.rb
composite_primary_keys-12.0.8 test/fixtures/room_attribute_assignment.rb
composite_primary_keys-12.0.6 test/fixtures/room_attribute_assignment.rb
composite_primary_keys-12.0.5 test/fixtures/room_attribute_assignment.rb
composite_primary_keys-12.0.4 test/fixtures/room_attribute_assignment.rb
composite_primary_keys-12.0.3 test/fixtures/room_attribute_assignment.rb
composite_primary_keys-12.0.2 test/fixtures/room_attribute_assignment.rb
composite_primary_keys-11.3.1 test/fixtures/room_attribute_assignment.rb
composite_primary_keys-8.1.8 test/fixtures/room_attribute_assignment.rb
composite_primary_keys-12.0.1 test/fixtures/room_attribute_assignment.rb
composite_primary_keys-12.0.0 test/fixtures/room_attribute_assignment.rb
composite_primary_keys-12.0.0.rc5 test/fixtures/room_attribute_assignment.rb
composite_primary_keys-12.0.0.rc4 test/fixtures/room_attribute_assignment.rb
composite_primary_keys-12.0.0.rc3 test/fixtures/room_attribute_assignment.rb
composite_primary_keys-12.0.0.rc2 test/fixtures/room_attribute_assignment.rb
composite_primary_keys-12.0.0.rc1 test/fixtures/room_attribute_assignment.rb
composite_primary_keys-8.1.7 test/fixtures/room_attribute_assignment.rb