Public Instance methods
before_destroy
()
Add the lock column instance filter to the object before destroying it.
[show source]
# File lib/sequel/plugins/optimistic_locking.rb, line 46 def before_destroy lock_column_instance_filter super end
before_update
()
Add the lock column instance filter to the object before updating it.
[show source]
# File lib/sequel/plugins/optimistic_locking.rb, line 52 def before_update lock_column_instance_filter super end