method
cache_fragment
rails latest stable - Class:
ActionView::TemplateHandlers::ERB
cache_fragment(block, name = {}, options = nil)public
No documentation available.
# File actionpack/lib/action_view/template_handlers/erb.rb, line 49
def cache_fragment(block, name = {}, options = nil) #:nodoc:
@view.fragment_for(block, name, options) do
eval(ActionView::Base.erb_variable, block.binding)
end
end