Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [3351d2997017465047b2c3dc63dc31e2362368af] by Andre Arko

Revision 3351d2997017465047b2c3dc63dc31e2362368af, committed by Repository · July 6th, 2008 @ 07:25 PM

Add has_many :primary_key option to allow setting the primary key on a has many association

Signed-off-by: Michael Koziarski

http://github.com/rails/rails/co...

6 changed files

  • M activerecord/lib/active_record/associations.rb
  • M activerecord/lib/active_record/associations/has_many_association.rb
  • M activerecord/test/cases/associations/has_many_associations_test.rb
  • M activerecord/test/fixtures/companies.yml
  • M activerecord/test/models/company.rb
  • M activerecord/test/schema/schema.rb