method
instrument_fragment_cache
rails latest stable - Class:
ActionController::Caching::Fragments
instrument_fragment_cache(name, key)public
No documentation available.
# File actionpack/lib/action_controller/caching/fragments.rb, line 92
def instrument_fragment_cache(name, key) # :nodoc:
payload = {
controller: controller_name,
action: action_name,
key: key
}
ActiveSupport::Notifications.instrument("#{name}.action_controller", payload) { yield }
end