This project is archived and is in readonly mode.
Changeset [8987cda2bb64fe289f7a28b2833a2786cfbc8259] by Jon Leighton
Revision 8987cda2bb64fe289f7a28b2833a2786cfbc8259,
committed 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...
2 changed files
-
M
activerecord/lib/active_record/associations/preloader/has_and_belongs_to_many.rb -
M
activerecord/test/cases/associations/eager_test.rb