method

set_locking_column

Importance_1
v3.1.0 - Show latest stable - 0 notes - Class: ActiveRecord::Locking::Optimistic::ClassMethods
set_locking_column(value = nil, &block) public

Set the column to use for optimistic locking. Defaults to lock_version.

Show source
Register or log in to add new notes.