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 35 def before_destroy 36 lock_column_instance_filter 37 super 38 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 41 def before_update 42 lock_column_instance_filter 43 super 44 end