Methods
R
Instance Protected methods
render_component(options)

Renders the component specified as the response for the current method

# File rails/actionpack/lib/action_controller/components.rb, line 96
def render_component(options) #:doc:
  component_logging(options) do
    render_text(component_response(options, true).body, response.headers["Status"])
  end
end
render_component_as_string(options)

Returns the component response as a string

# File rails/actionpack/lib/action_controller/components.rb, line 103
def render_component_as_string(options) #:doc:
  component_logging(options) do
    response = component_response(options, false)

    if redirected = response.redirected_to
      render_component_as_string(redirected)
    else
      response.body
    end
  end
end