This project is archived and is in readonly mode.

Changeset [1c11437a32a973fa9b521c32caa7256f9772acd7] by Szymon Nowak

July 16th, 2009 @ 02:13 AM

Add primary_key option to belongs_to association

[#765 state:committed]

Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

Committed by Szymon Nowak

  • M activerecord/CHANGELOG
  • M activerecord/lib/active_record/associations.rb
  • M activerecord/lib/active_record/associations/belongs_to_association.rb
  • M activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb
  • M activerecord/lib/active_record/autosave_association.rb
  • M activerecord/test/cases/associations/belongs_to_associations_test.rb
  • M activerecord/test/cases/base_test.rb
  • M activerecord/test/cases/reflection_test.rb
  • M activerecord/test/models/author.rb
  • M activerecord/test/models/company.rb
  • M activerecord/test/models/essay.rb
  • M activerecord/test/models/reply.rb
  • M activerecord/test/models/topic.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>