On Oct 27, 2005, at 11:00 AM, Patrick Hurley wrote:
> I have a controller that renders text:
>
> render :text => body, :layout => true
>
> It was previously the case that layout would get any instance
> variables (in particular I have some before filters at the application
> controller level that setup some menus). It is now the case that the
> layout is still processed when rendering text; however, the bindings
> to the instance variables do not seem to be created. It is easy enough
> to change this to:
>
> @body = body
> render :action => ''show_body''
>
> and everything works, but is this a bug, or expected behavior?
Patrick, I wouldn''t have expected that to break. Can you please log a
ticket at dev.rubyonrails.com?
Thanks,
Jamis