method

set_locking_column

rails latest stable - Class: ActiveRecord::Locking::Optimistic::ClassMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

set_locking_column(value = nil, &block)
public

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