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 [4c05055487e149bfa4152c1b42f3519671ca22ac] by Will Bryant

Revision 4c05055487e149bfa4152c1b42f3519671ca22ac, committed by Will Bryant · October 10th, 2008 @ 03:58 PM

explicitly including child associations that are also included in the parent association definition should not result in double records in the collection/double loads (#1110)

Signed-off-by: Michael Koziarski michael@koziarski.com [#1110 state:committed] http://github.com/rails/rails/co...

5 changed files

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