See ActionController::Caching::Fragments for usage instructions.

Methods
Public Instance methods
cache(name = {}, &block)
   # File vendor/rails/actionpack/lib/action_view/helpers/cache_helper.rb, line 5
5:       def cache(name = {}, &block)
6:         @controller.cache_erb_fragment(block, name)
7:       end