See ActionController::Caching::Fragments for usage instructions.
Methods
- C
Instance Public methods
Source: show
# File rails/actionpack/lib/action_view/helpers/cache_helper.rb, line 5 def cache(name = {}, &block) @controller.cache_erb_fragment(block, name) end