Displaying 1 result from an estimated 1 matches for "html_to_save".
2010 Nov 04
0
Re: Train wreck getting render_to_string to work from foreign controller [SOLVED]
...this is just in Rails 3 (I am using) or if it would have
> presented in previous versions. I especially don''t understand why this
> method should ignore :controller => "xx" and assume the current controller.
>
> Here are a few of the trials and results:
>
> *html_to_save = render_to_string(:action => "/comparisons#display",
> :layout => "application")*
> *returns* (in addition to a deprication error)*:*
> ActionView::MissingTemplate: Missing template /comparisons#display with
> {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxm...