From 1d8fad6f903d5065911bea3409c7a9082f47d3f8 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Thu, 21 Feb 2019 21:09:05 +0900 Subject: 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. --- activerecord/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'activerecord/CHANGELOG.md') 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* -- cgit v1.2.3