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 46 def before_destroy 47 lock_column_instance_filter 48 super 49 end
before_update()
Add the lock column instance filter to the object before updating it.
[show source]
# File lib/sequel/plugins/optimistic_locking.rb 52 def before_update 53 lock_column_instance_filter 54 super 55 end