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 208
208:         def before_destroy
209:           return false unless model.static_cache_allow_modifications?
210:           super
211:         end

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

[Source]

     # File lib/sequel/plugins/static_cache.rb, line 214
214:         def before_save
215:           return false unless model.static_cache_allow_modifications?
216:           super
217:         end

[Validate]