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 [b3ec7b2d03a52e43a4451d522eea7e6499289daa] by Szymon Nowak

Revision b3ec7b2d03a52e43a4451d522eea7e6499289daa, committed 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...

14 changed files

  • 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