instance method
instrument_fragment_cache
Ruby on Rails 3.2.22.5
Since v3.0.20 Last seen in v3.2.22.5Signature
instrument_fragment_cache(name, key)
No documentation comment.
Parameters
-
namereq -
keyreq
Source
# File actionpack/lib/action_controller/caching/fragments.rb, line 122
def instrument_fragment_cache(name, key)
ActiveSupport::Notifications.instrument("#{name}.action_controller", :key => key){ yield }
end
Defined in actionpack/lib/action_controller/caching/fragments.rb line 122
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Caching::Fragments