This project is archived and is in readonly mode.

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

Committed by Neeraj Singh

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