test/fixtures/dorm.rb in composite_primary_keys-3.1.6 vs test/fixtures/dorm.rb in composite_primary_keys-3.1.7
- old
+ new
@@ -1,3 +1,3 @@
class Dorm < ActiveRecord::Base
- has_many :rooms, :include => :room_attributes
+ has_many :rooms, :include => :room_attributes, :primary_key => [:id]
end
\ No newline at end of file