test/fixtures/employee.rb in composite_primary_keys-8.1.5 vs test/fixtures/employee.rb in composite_primary_keys-8.1.6

- old
+ new

@@ -5,7 +5,8 @@ has_many :salaries, :primary_key => [:id, :location_id], :foreign_key => [:employee_id, :location_id] has_one :one_salary, :class_name => "Salary", :primary_key => [:id, :location_id], - :foreign_key => [:employee_id, :location_id] + :foreign_key => [:employee_id, :location_id], + :inverse_of => :employee end