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 [715b34fdff1e1e93204e57737d69f8d365e17504] by Joey Aghion

Revision 715b34fdff1e1e93204e57737d69f8d365e17504, committed by Joey Aghion · March 29th, 2010 @ 11:33 PM

use supplied primary key when eager-loading belongs_to associations rather than default primary key

[#765]

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

2 changed files

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