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 [fbebdb0c091c37b0bc75ab774d187d8bc8795bd2] by Frederick Cheung

Revision fbebdb0c091c37b0bc75ab774d187d8bc8795bd2, committed by Repository · May 6th, 2008 @ 10:08 AM

Ensure correct record is returned when preloading has_one where more than one row exists

Signed-off-by: Michael Koziarski

[#73 state:closed]

http://github.com/rails/rails/co...

3 changed files

  • M activerecord/lib/active_record/association_preload.rb
  • M activerecord/test/cases/associations/eager_test.rb
  • M activerecord/test/models/post.rb