Method: ActiveRecord::Locking::Optimistic::ClassMethods#locking_column=

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

#locking_column=(value) ⇒ Object



132
133
134
135
# File 'lib/active_record/locking/optimistic.rb', line 132

def locking_column=(value)
  @original_locking_column = @locking_column if defined?(@locking_column)
  @locking_column          = value.to_s
end