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 [0963774c0a6a58ba13ac0ff4763527ea7d994c0a] by Grant Ammons

Revision 0963774c0a6a58ba13ac0ff4763527ea7d994c0a, committed by Grant Ammons · July 8th, 2010 @ 10:08 PM

fixes #2362, eager loading :through associations will join the :source model if there are :conditions

Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/0963774c0a6a58ba13ac0ff4763527...

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