This project is archived and is in readonly mode.

Changeset [8987cda2bb64fe289f7a28b2833a2786cfbc8259] by Jon Leighton

March 4th, 2011 @ 11:16 PM

When preloading has_and_belongs_to_many associations, we should only instantiate one AR object per actual record in the database. (Even when IM is off.)
https://github.com/rails/rails/commit/8987cda2bb64fe289f7a28b2833a2...

Committed by Jon Leighton

  • M activerecord/lib/active_record/associations/preloader/has_and_belongs_to_many.rb
  • M activerecord/test/cases/associations/eager_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>