diff options
author | Ian Young <ian.greenleaf@gmail.com> | 2012-09-17 14:57:13 -0700 |
---|---|---|
committer | Ian Young <ian.greenleaf@gmail.com> | 2013-03-20 13:43:07 -0700 |
commit | 66679c8ecd9e916cbd96745b853603bc2fed7639 (patch) | |
tree | 7b0b2f5b91aa7e48db3beb7d184922be55d37f5c /activerecord/CHANGELOG.md | |
parent | 34c7e73c1def1312e59ef1f334586ff2f668246e (diff) | |
download | rails-66679c8ecd9e916cbd96745b853603bc2fed7639.tar.gz rails-66679c8ecd9e916cbd96745b853603bc2fed7639.tar.bz2 rails-66679c8ecd9e916cbd96745b853603bc2fed7639.zip |
Update other counter caches on destroy
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 3e368407f2..771f1333f0 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,10 @@ ## Rails 4.0.0 (unreleased) ## +* Models with multiple counter cache associations now update correctly on destroy. + See #7706. + + *Ian Young* + * If inverse_of is true on an association, then when one calls +find()+ on the association, ActiveRecord will first look through the in-memory objects in the association for a particular id. Then, it will go to the DB if it |