method
instrument_fragment_cache
v5.0.0.1 -
Show latest stable
- Class:
AbstractController::Caching::Fragments
instrument_fragment_cache(name, key)public
No documentation available.
# File actionpack/lib/abstract_controller/caching/fragments.rb, line 137
def instrument_fragment_cache(name, key) # :nodoc:
payload = instrument_payload(key)
ActiveSupport::Notifications.instrument("#{name}.#{instrument_name}", payload) { yield }
end