Module | Sequel::Plugins::InstanceFilters::InstanceMethods |
In: |
lib/sequel/plugins/instance_filters.rb
|
Clear the instance filters after successfully destroying the object.
# File lib/sequel/plugins/instance_filters.rb, line 51 51: def after_destroy 52: super 53: clear_instance_filters 54: end
Clear the instance filters after successfully updating the object.
# File lib/sequel/plugins/instance_filters.rb, line 57 57: def after_update 58: super 59: clear_instance_filters 60: end
Freeze the instance filters when freezing the object
# File lib/sequel/plugins/instance_filters.rb, line 63 63: def freeze 64: instance_filters.freeze 65: super 66: end