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 227 227: def before_destroy 228: return false unless model.static_cache_allow_modifications? 229: super 230: end