Module | Sequel::Plugins::StaticCache::InstanceMethods |
In: |
lib/sequel/plugins/static_cache.rb
|
Disallowing destroying the object unless the :frozen=>false option was used.
# File lib/sequel/plugins/static_cache.rb, line 208 208: def before_destroy 209: return false unless model.static_cache_allow_modifications? 210: super 211: end