Module Sequel::Plugins::StaticCache::InstanceMethods
In: lib/sequel/plugins/static_cache.rb

Methods

Public Instance methods

Disallowing destroying the object unless the :frozen=>false option was used.

[Source]

     # 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

Disallowing saving the object unless the :frozen=>false option was used.

[Source]

     # File lib/sequel/plugins/static_cache.rb, line 233
233:         def before_save
234:           return false unless model.static_cache_allow_modifications?
235:           super
236:         end

[Validate]