This project is archived and is in readonly mode.

Changeset [757e4364dc3f808f0002a6c8cb03531e69e2f356] by Emilio Tagua

December 10th, 2008 @ 07:02 PM

Fix: counter_cache should decrement on deleting associated records.

[#1195 state:committed]

Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

Committed by Emilio Tagua

  • M activerecord/lib/active_record/associations/association_collection.rb
  • M activerecord/test/cases/associations/has_many_associations_test.rb
  • M activerecord/test/cases/associations/has_many_through_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>