instance method
render_to_string
Ruby on Rails 3.1.12
Since v3.0.20Signature
render_to_string(*args, &block)
Raw rendering of a template to a string. Just convert the results of render_response into a String. :api: plugin
Parameters
-
argsrest -
blockblock
Source
# File actionpack/lib/abstract_controller/rendering.rb, line 105
def render_to_string(*args, &block)
options = _normalize_render(*args, &block)
render_to_body(options)
end
Defined in actionpack/lib/abstract_controller/rendering.rb line 105
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in AbstractController::Rendering