test/fixtures/employee.rb in composite_primary_keys-5.0.6 vs test/fixtures/employee.rb in composite_primary_keys-5.0.8
- old
+ new
@@ -1,4 +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