diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-04-28 00:23:50 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-06-21 00:46:23 +0300 |
commit | 4d1264cb5afb93dba198dc559c22a88521fc45c4 (patch) | |
tree | fff3410cce7656b2b149528e3f60a39b4775dc12 /activerecord/CHANGELOG.md | |
parent | 890de7705257323d05c8831b8c1ab43433b0ba89 (diff) | |
download | rails-4d1264cb5afb93dba198dc559c22a88521fc45c4.tar.gz rails-4d1264cb5afb93dba198dc559c22a88521fc45c4.tar.bz2 rails-4d1264cb5afb93dba198dc559c22a88521fc45c4.zip |
Fix ActiveRecord::Persistence#touch with locking
`ActiveRecord::Persistence#touch` does not work well when optimistic
locking enabled and `locking_column`, without default value, is null in
the database.
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 f361e44fcd..c4ee75c9a2 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,8 @@ +* `ActiveRecord::Persistence#touch` does not work well when optimistic locking enabled and + `locking_column`, without default value, is null in the database. + + *bogdanvlviv* + * Fix destroying existing object does not work well when optimistic locking enabled and `locking column` is null in the database. |