aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/version.rb
diff options
context:
space:
mode:
authorJakob Skjerning <jakob@mentalized.net>2016-09-14 17:07:15 +0200
committerJakob Skjerning <jakob@mentalized.net>2016-09-14 17:37:04 +0200
commite835596ae882e748e452e52131c2a4244336660b (patch)
tree766ab99a4c2f407fc3c7c8a19f13fe4cd724f75a /activerecord/lib/active_record/version.rb
parent1d7b00d6072e4749e90fb4bc8307dc06b052848d (diff)
downloadrails-e835596ae882e748e452e52131c2a4244336660b.tar.gz
rails-e835596ae882e748e452e52131c2a4244336660b.tar.bz2
rails-e835596ae882e748e452e52131c2a4244336660b.zip
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 # {}
Diffstat (limited to 'activerecord/lib/active_record/version.rb')
0 files changed, 0 insertions, 0 deletions