123456789_123456789_123456789_123456789_123456789_

Module: ActionController::DataStreaming

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
API, Base, ::ActionView::TestCase::TestController, Rails::ApplicationController, ::Rails::HealthController, Rails::InfoController, Rails::MailersController, Rails::PwaController, Rails::WelcomeController
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
self, Rendering
Defined in: actionpack/lib/action_controller/metal/data_streaming.rb

Overview

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

Constant Summary

Rendering - Included

RENDER_FORMATS_IN_PRIORITY

Class Method Summary

::ActiveSupport::Concern - Extended

class_methods

Define class methods from given block.

included

Evaluate given block in context of base class, so that you can write class macros here.

prepended

Evaluate given block in context of base class, so that you can write class macros here.

Instance Method Summary

Rendering - Included

#render

Renders a template and assigns the result to self.response_body.

#render_to_string

Similar to #render, but only returns the rendered template as a string, instead of setting self.response_body.