This project is archived and is in readonly mode.
Changeset [e62b57647258fad34129975c5a264d19af2dbbe8] by Jon Leighton
Revision e62b57647258fad34129975c5a264d19af2dbbe8,
committed by Jon Leighton
· February 7th, 2011 @ 11:35 PM
Refactor the implementations of AssociatioCollection#delete and
#destroy to be more consistent with each other, and to stop passing
blocks around, thus making the execution easier to follow.
https://github.com/rails/rails/commit/e62b57647258fad34129975c5a264...
5 changed files
-
M
activerecord/lib/active_record/associations/association_collection.rb -
M
activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb -
M
activerecord/lib/active_record/associations/has_many_association.rb -
M
activerecord/lib/active_record/associations/has_many_through_association.rb -
M
activerecord/test/cases/autosave_association_test.rb