diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-02-21 21:09:05 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-02-25 20:14:56 +0900 |
commit | 1d8fad6f903d5065911bea3409c7a9082f47d3f8 (patch) | |
tree | 8504ca8cc3a484cd32d46f133d578b45b3bc0206 /activerecord/CHANGELOG.md | |
parent | 67e20d1d4854d834e9e43e56486d37cd98983f0d (diff) | |
download | rails-1d8fad6f903d5065911bea3409c7a9082f47d3f8.tar.gz rails-1d8fad6f903d5065911bea3409c7a9082f47d3f8.tar.bz2 rails-1d8fad6f903d5065911bea3409c7a9082f47d3f8.zip |
Ensure `update_all` series cares about optimistic locking
Incrementing the lock version invalidates any other process's optimistic
lock, which is the desired outcome: the record no longer looks the same
as it did when they loaded it.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 99a76b5b94..57f831bac3 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,7 @@ +* Ensure `update_all` series cares about optimistic locking. + + *Ryuta Kamizono* + * Don't allow `where` with non numeric string matches to 0 values. *Ryuta Kamizono* |