This project is archived and is in readonly mode.

Changeset [834e5336a5d8a8250251e756385e39ebfb4917c3] by Jon Leighton

December 20th, 2010 @ 09:56 PM

has_many associations with :dependent => :delete_all should update the counter cache when deleting records
https://github.com/rails/rails/commit/834e5336a5d8a8250251e756385e3...

Committed by Jon Leighton

  • M activerecord/lib/active_record/associations/has_many_association.rb
  • M activerecord/test/cases/associations/has_many_associations_test.rb
  • M activerecord/test/models/post.rb
  • M activerecord/test/schema/schema.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>