This project is archived and is in readonly mode.
Changeset [88df88095c82cde53501abe2a44f6c1f66c272b4] by Jon Leighton
January 30th, 2011 @ 11:58 AM
AssociationCollection#to_ary should definitely dup the target!
Also changed #replace which was previously incorrect, but the test
passed due to the fact that to_a was not duping.
https://github.com/rails/rails/commit/88df88095c82cde53501abe2a44f6...
Committed by Jon Leighton
- 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>