module ActionController::Streaming

def _render_template(options)

Call render_body if we are streaming instead of usual +render+.
def _render_template(options)
  if options.delete(:stream)
    Rack::Chunked::Body.new view_renderer.render_body(view_context, options)
  else
    super
  end
end