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_base.rb 21 def before_destroy 22 lock_column_instance_filter 23 super 24 end
before_update()
Add the lock column instance filter to the object before updating it.
[show source]
# File lib/sequel/plugins/optimistic_locking_base.rb 27 def before_update 28 lock_column_instance_filter 29 super 30 end