Module: Sequel::Plugins::OptimisticLockingBase::InstanceMethods
- Defined in:
- lib/sequel/plugins/optimistic_locking_base.rb
Instance Method Summary collapse
-
#before_destroy ⇒ Object
Add the lock column instance filter to the object before destroying it.
-
#before_update ⇒ Object
Add the lock column instance filter to the object before updating it.
Instance Method Details
#before_destroy ⇒ Object
Add the lock column instance filter to the object before destroying it.
35 36 37 38 |
# File 'lib/sequel/plugins/optimistic_locking_base.rb', line 35 def before_destroy lock_column_instance_filter super end |
#before_update ⇒ Object
Add the lock column instance filter to the object before updating it.
41 42 43 44 |
# File 'lib/sequel/plugins/optimistic_locking_base.rb', line 41 def before_update lock_column_instance_filter super end |