This project is archived and is in readonly mode.
Changeset [05f2183747c8e75c9e8bbaadb9573b4bdf41ecfc] by Emilio Tagua
Revision 05f2183747c8e75c9e8bbaadb9573b4bdf41ecfc,
committed by Emilio Tagua
· December 10th, 2008 @ 06:59 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...
3 changed files
-
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