Method: ActiveRecord::Locking::Optimistic::ClassMethods#locking_column
- Defined in:
- lib/active_record/locking/optimistic.rb
#locking_column ⇒ Object
The version column used for optimistic locking. Defaults to lock_version
.
143 144 145 146 |
# File 'lib/active_record/locking/optimistic.rb', line 143 def locking_column reset_locking_column unless defined?(@locking_column) @locking_column end |