diff options
author | Vipul A M <vipulnsward@gmail.com> | 2016-10-23 20:12:37 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-23 20:12:37 +0530 |
commit | 0fdeb0763621f500970fa3012bd8425fb5a81b63 (patch) | |
tree | 7cb3288551e7bbdef26c4783039d8fd7e69efccb /activerecord/lib/active_record | |
parent | 331d080a66fe90609f76a5d6b4e9b844186f78cf (diff) | |
parent | 2bb74c9a82da04cae9e7266b8f0f0cc5802ce1bc (diff) | |
download | rails-0fdeb0763621f500970fa3012bd8425fb5a81b63.tar.gz rails-0fdeb0763621f500970fa3012bd8425fb5a81b63.tar.bz2 rails-0fdeb0763621f500970fa3012bd8425fb5a81b63.zip |
Merge pull request #26867 from bogdanvlviv/opt_loc_docs
Add info about updating locking column value
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/locking/optimistic.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/locking/optimistic.rb b/activerecord/lib/active_record/locking/optimistic.rb index d39b7181f4..98215b1c9b 100644 --- a/activerecord/lib/active_record/locking/optimistic.rb +++ b/activerecord/lib/active_record/locking/optimistic.rb @@ -47,6 +47,7 @@ module ActiveRecord # self.locking_column = :lock_person # end # + # Note that, optimistic locking will be ignored if you update the locking column value. module Optimistic extend ActiveSupport::Concern |