Method: AbstractController::Rendering#render_to_string

Defined in:
lib/abstract_controller/rendering.rb

#render_to_string(*args, &block) ⇒ Object

Raw rendering of a template to a string. Just convert the results of render_to_body into a String. :api: plugin



99
100
101
102
103
# File 'lib/abstract_controller/rendering.rb', line 99

def render_to_string(*args, &block)
  options = _normalize_args(*args, &block)
  _normalize_options(options)
  render_to_body(options)
end