aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorEileen M. Uchitelle <eileencodes@users.noreply.github.com>2016-09-17 08:54:35 -0400
committerGitHub <noreply@github.com>2016-09-17 08:54:35 -0400
commit2159a932335486d6e982bfb42ca297f42e0e42c0 (patch)
treef59392db833567ad37a1878f00edf45986faa583 /activerecord/CHANGELOG.md
parentb5ef59f234b821988d5afcfc8bcca9999892577e (diff)
parente835596ae882e748e452e52131c2a4244336660b (diff)
downloadrails-2159a932335486d6e982bfb42ca297f42e0e42c0.tar.gz
rails-2159a932335486d6e982bfb42ca297f42e0e42c0.tar.bz2
rails-2159a932335486d6e982bfb42ca297f42e0e42c0.zip
Merge pull request #26497 from koppen/26496-touch_with_optimistic_locking
Clear attribute changes after handling locking
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index bca719cb2f..786420f51e 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,10 @@
+* Calling `touch` on a model using optimistic locking will now leave the model
+ in a non-dirty state with no attribute changes.
+
+ Fixes #26496.
+
+ *Jakob Skjerning*
+
* Using a mysql2 connection after it fails to reconnect will now have an error message
saying the connection is closed rather than an undefined method error message.