protected Method

InstanceMethods.render_component_as_string(options)

Returns the component response as a string

Source Code

# File action_controller/components.rb, line 86
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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.