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 [63026541b209cc11ffd74cf3ca04b89d1e437737] by Ernie Miller

Revision 63026541b209cc11ffd74cf3ca04b89d1e437737, committed by Ernie Miller · March 29th, 2010 @ 11:24 PM

Fix honoring :primary_key option when joining or eager loading a belongs_to association

[#765 state:committed]

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

3 changed files

  • M activerecord/lib/active_record/association_preload.rb
  • M activerecord/lib/active_record/associations.rb
  • M activerecord/test/cases/associations/belongs_to_associations_test.rb