module CacheWithSettings::Helpers::CacheHelper
Public Instance Methods
cache(key, options = {}) { |block| ... }
click to toggle source
Calls superclass method
# File lib/cache_with_settings/helpers/cache_helper.rb, line 5 def cache(key, options = {}, &block) super(CacheWithSettings.compose_key(key), options) do yield(block) end end