Module: ActionController::DataStreaming

Extended by:
ActiveSupport::Concern
Includes:
Rendering
Defined in:
lib/action_controller/metal/data_streaming.rb

Overview

Methods for sending arbitrary data and for streaming files to the browser, instead of rendering.

Defined Under Namespace

Classes: FileBody

Constant Summary collapse

DEFAULT_SEND_FILE_OPTIONS =
{
  :type         => 'application/octet-stream'.freeze,
  :disposition  => 'attachment'.freeze,
}.freeze

Constants included from AbstractController::Rendering

AbstractController::Rendering::DEFAULT_PROTECTED_INSTANCE_VARIABLES

Method Summary

Methods included from Rendering

#process_action, #render, #render_to_string

Methods included from AbstractController::Rendering

#_render_template, #process, #render, #render_to_body, #render_to_string, #view_assigns, #view_context, #view_context_class, #view_renderer

Methods included from AbstractController::ViewPaths

#_prefixes, #append_view_path, #details_for_lookup, #lookup_context, #prepend_view_path