Method: ActiveRecord::Locking::Optimistic::ClassMethods#reset_locking_column

Defined in:
lib/active_record/locking/optimistic.rb

#reset_locking_columnObject

Reset the column used for optimistic locking back to the lock_version default.



158
159
160
# File 'lib/active_record/locking/optimistic.rb', line 158

def reset_locking_column
  self.locking_column = DEFAULT_LOCKING_COLUMN
end