This project is archived and is in readonly mode.

Changeset [715b34fdff1e1e93204e57737d69f8d365e17504] 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...

Committed by Joey Aghion

  • M activerecord/lib/active_record/association_preload.rb
  • M activerecord/test/cases/associations/belongs_to_associations_test.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>