This project is archived and is in readonly mode.
Changeset [d55406d2e991056b08f69eb68bcf9b17da807b6c] by Jon Leighton
February 7th, 2011 @ 11:35 PM
Make record.association.destroy(*records) on habtm and hm:t only
delete records in the join table. This is to make the destroy
method more consistent across the different types of associations.
For more details see the CHANGELOG entry.
https://github.com/rails/rails/commit/d55406d2e991056b08f69eb68bcf9...
Committed by Jon Leighton
- M activerecord/CHANGELOG
- 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/associations/has_and_belongs_to_many_associations_test.rb
- M activerecord/test/cases/associations/has_many_through_associations_test.rb
- M activerecord/test/cases/autosave_association_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>