method

instrument_fragment_cache

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: ActionController::Caching::Fragments
instrument_fragment_cache(name, key) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.