In my application.rhtml I have the following: <body> <div id="page"> <% if flash[:notice] %> <div id="notice"><%= flash[:notice] %></div> <% end -%> <div id="mainmenu"> <%= render_component(:controller => "application", :action => "build_menu") %> </div> <!-- flash doesn''t work when placed here --> <div id="content"> <%= @content_for_layout %> </div> </div> </body> While this works, the flash simply doesn''t appear when placed after the render_component helper. It''s not a CSS problem because the flash doesn''t appear anywhere in the final page source code. Have I gotten something very wrong? :-/ Thanks for any help!
Hi ! 2005/11/13, Ben <benedictsmith@gmail.com>:> While this works, the flash simply doesn't appear when placed after the > render_component helper. It's not a CSS problem because the flash doesn't appear > anywhere in the final page source code. Have I gotten something very wrong? :-/This is a known bug: #2291 http://dev.rubyonrails.com/ticket/2291 This problem is supposed to be resolved in r2722, which happened prior to 0.14.3 being released. Hope that helps, François _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
francois.beausoleil wrote:> Hi ! > 2005/11/13, Ben <benedictsmith-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: >> While this works, the flash simply doesn''t appear when placed after the >> render_component helper. It''s not a CSS problem because the flash doesn''t appear >> anywhere in the final page source code. Have I gotten something very wrong? :-/ > > This is a known bug: #2291 > http://dev.rubyonrails.com/ticket/2291 > > This problem is supposed to be resolved in r2722, which happened prior > to 0.14.3 being released. > > Hope that helps, > FrançoisOk, thanks very much - although it''s annoying, I''m relieved it''s not due to me! -- Posted via http://www.ruby-forum.com/.