Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v6.1.7.7) is shown here.
cache(key, name, prefix, partial, locals)
public
Cache the templates returned by the block
# File actionview/lib/action_view/template/resolver.rb, line 100
def cache(key, name, prefix, partial, locals)
@data[key][name][prefix][partial][locals] ||= canonical_no_templates(yield)
end