aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-09-20 14:31:12 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-09-20 14:31:12 +0900
commitf1dcfc6ccb9ceb0bfa76819acc2c3ed1bc691ef8 (patch)
treea50da118695dee59d7982c41db3bc28eab624768 /activerecord/CHANGELOG.md
parent4586b304fc61e3a5d756d005aa2c386a1b01b848 (diff)
parentfe929c171966c6102452f3612c613a245a5e8bb7 (diff)
downloadrails-f1dcfc6ccb9ceb0bfa76819acc2c3ed1bc691ef8.tar.gz
rails-f1dcfc6ccb9ceb0bfa76819acc2c3ed1bc691ef8.tar.bz2
rails-f1dcfc6ccb9ceb0bfa76819acc2c3ed1bc691ef8.zip
Merge pull request #33913 from kamipo/counter_cache
Don't update counter cache unless the record is actually saved
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 430dd5d917..cfc5647969 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,9 @@
+* Don't update counter cache unless the record is actually saved.
+
+ Fixes #31493, #33113, #33117.
+
+ *Ryuta Kamizono*
+
* Deprecate `ActiveRecord::Result#to_hash` in favor of `ActiveRecord::Result#to_a`.
*Gannon McGibbon*, *Kevin Cheng*