Module: Covercache::ModelConcern
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/covercache.rb
Overview
Extend and Include to model Base helper so cache method is available in all contexts. (yes, it is form PackRat too)
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#covercache_flush_cache! ⇒ Object
flush cache on after_commit callback.
Instance Method Details
#covercache_flush_cache! ⇒ Object
flush cache on after_commit callback
238 239 240 |
# File 'lib/covercache.rb', line 238 def covercache_flush_cache! self.class.send :covercache_flush! end |