Exception: OptimisticallyStale::MissingLockVersion

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/optimistically_stale.rb

Instance Method Summary collapse

Constructor Details

#initialize(column: 'lock_version') ⇒ MissingLockVersion

Returns a new instance of MissingLockVersion.



8
9
10
# File 'lib/optimistically_stale.rb', line 8

def initialize(column: 'lock_version')
  super 'Attribute \'%s\' is required.' % column
end