touch
leaves model with optimistic locking in changed state
#26496
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TLDR: Using
touch
in Rails 5.0.0.1 leaves theActiveRecord
models with lock_version in a changed state:Steps to reproduce
Set up a model with optimistic locking in a blank Rails application:
Create a new record and touch it:
Actual behaviour
Expected behaviour
A complete reproduction script can be found below.
System configuration
Reproduction script
The text was updated successfully, but these errors were encountered: