This project is archived and is in readonly mode.

Changeset [3351d2997017465047b2c3dc63dc31e2362368af] by Andre Arko

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...

Committed by Repository

  • 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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>