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 [7c5c1a07c03ec03536636c26e09b80b29a59beed] by Neeraj Singh

Revision 7c5c1a07c03ec03536636c26e09b80b29a59beed, committed by Neeraj Singh · November 15th, 2010 @ 06:12 PM

if association is already loaded and if a find operation is performed on the already loaded association list with an empty hash then do not perform another sql

[#5972 state:resolved] https://github.com/rails/rails/commit/7c5c1a07c03ec03536636c26e09b8...

2 changed files

  • M activerecord/lib/active_record/associations/association_collection.rb
  • M activerecord/test/cases/associations/has_many_associations_test.rb