module Covercache::ModelConcern

Extend and Include to model Base helper so cache method is available in all contexts. (yes, it is form PackRat too)

Public Instance Methods

covercache_flush_cache!()
Alias for: expire_covercache
covercache_keys() click to toggle source
# File lib/covercache.rb, line 247
def covercache_keys
  self.class.send :covercache_keys
end
covercache_keys=(keys) click to toggle source
# File lib/covercache.rb, line 251
def covercache_keys=(keys)
  self.class.send :covercache_keys=, keys
end
expire_covercache() click to toggle source

flush cache on after_commit callback

# File lib/covercache.rb, line 256
def expire_covercache
  self.class.send :expire_covercache
end
Also aliased as: covercache_flush_cache!