Clear attribute changes after handling locking
Without this the changes to the lock version column will stick around even after `touch` returns. Before: model.touch model.changes # => {"lock_version"=>[0, "1"]} After: model.touch model.changes # {}
Showing
想要评论请 注册 或 登录