method
read_fragment
v1.1.6 -
Show latest stable
- Class:
ActionController::Caching::Fragments
read_fragment(name, options = nil)public
No documentation available.
# File actionpack/lib/action_controller/caching.rb, line 297
def read_fragment(name, options = nil)
return unless perform_caching
key = fragment_cache_key(name)
self.class.benchmark "Fragment read: #{key}" do
fragment_cache_store.read(key, options)
end
end