method

render

render(*args)
public

Renders a template to a string, just like ActionController::Rendering#render_to_string.