diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-03-05 04:14:51 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-03-06 02:03:31 +0900 |
commit | 263f01d93da118dc150c6ac816e70dcf10de2608 (patch) | |
tree | 71442d6fa769733252a0c76ff7da20234c20bd04 /tools/profile | |
parent | ccac681122db9747fec9512076772bca345e24b9 (diff) | |
download | rails-263f01d93da118dc150c6ac816e70dcf10de2608.tar.gz rails-263f01d93da118dc150c6ac816e70dcf10de2608.tar.bz2 rails-263f01d93da118dc150c6ac816e70dcf10de2608.zip |
Fix that after commit callbacks on update does not triggered when optimistic locking is enabled
This issue is caused by `@_trigger_update_callback` won't be updated due
to `_update_record` in `Locking::Optimistic` doesn't call `super` when
optimistic locking is enabled.
Now optimistic locking concern when updating is supported by
`_update_row` low level API, therefore overriding `_update_record` is no
longer necessary.
Removing the method just fix the issue.
Closes #29096.
Closes #29321.
Closes #30823.
Diffstat (limited to 'tools/profile')
0 files changed, 0 insertions, 0 deletions