Method: ActiveRecord::Locking::Optimistic::ClassMethods#set_locking_column
- Defined in:
- lib/active_record/locking/optimistic.rb
#set_locking_column(value = nil, &block) ⇒ Object
Set the column to use for optimistic locking. Defaults to lock_version
.
138 139 140 |
# File 'lib/active_record/locking/optimistic.rb', line 138 def set_locking_column(value = nil, &block) deprecated_property_setter :locking_column, value, block end |