Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
`touch` leaves model with optimistic locking in changed state #26496
Steps to reproduce
Set up a model with optimistic locking in a blank Rails application:
Create a new record and touch it:
A complete reproduction script can be found below.