test/fixtures/employee.rb in composite_primary_keys-7.0.13 vs test/fixtures/employee.rb in composite_primary_keys-7.0.14
- old
+ new
@@ -1,5 +1,5 @@
-class Employee < ActiveRecord::Base
- belongs_to :department, :foreign_key => [:department_id, :location_id]
- has_many :comments, :as => :person
- has_and_belongs_to_many :groups
-end
+class Employee < ActiveRecord::Base
+ belongs_to :department, :foreign_key => [:department_id, :location_id]
+ has_many :comments, :as => :person
+ has_and_belongs_to_many :groups
+end