Displaying 1 result from an estimated 1 matches for "_process_options".
Did you mean:
process_options
2010 Nov 04
0
Re: Train wreck getting render_to_string to work from foreign controller [SOLVED]
...p;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
>
> # Find and renders a template based on the options given.
> # :api: private
> def _render_template(options) #:nodoc:
> view_context.render(options)
> end
>
> So I new to reading the source b...