Displaying 1 result from an estimated 1 matches for "_normalize_options".
Did you mean:
normalize_options
2010 Nov 04
0
Re: Train wreck getting render_to_string to work from foreign controller [SOLVED]
...> In the Rails source I find:
>
> # Raw rendering of a template to a string. Just convert the results of
> # render_to_body into a String.
> # :api: plugin
> def render_to_string(*args, &block)
> options = _normalize_args(*args, &block)
> _normalize_options(options)
> render_to_body(options)
> end
>
> # Raw rendering of a template to a Rack-compatible body.
> # :api: plugin
> def render_to_body(options = {})
> _process_options(options)
> _render_template(options)
> end
>
> # Fi...