Exception: OptimisticallyStale::MissingLockVersion
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- OptimisticallyStale::MissingLockVersion
- Defined in:
- lib/optimistically_stale.rb
Instance Method Summary collapse
-
#initialize(column: 'lock_version') ⇒ MissingLockVersion
constructor
A new instance of MissingLockVersion.
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 |