method

_save_fragment

rails latest stable - Class: ActionController::Caching::Actions

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

_save_fragment(name, options)
public

No documentation available.

# File actionpack/lib/action_controller/caching/actions.rb, line 104
      def _save_fragment(name, options)
        content = ""
        response_body.each do |parts|
          content << parts
        end

        if caching_allowed?
          write_fragment(name, content, options)
        else
          content
        end
      end