This project is archived and is in readonly mode.

Changeset [b3ec7b2d03a52e43a4451d522eea7e6499289daa] by Szymon Nowak

July 16th, 2009 @ 02:14 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>