This project is archived and is in readonly mode.

Changeset [2e24cf7cc2392c8fa252ef3b4831a4516ae852d6] by Jon Leighton

January 30th, 2011 @ 11:58 AM

AssociationCollection#clear can basically just use #delete_all, except it should return self.
https://github.com/rails/rails/commit/2e24cf7cc2392c8fa252ef3b4831a...

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>