I handle my flash notices in my layout file. <% if flash[:notice] -%> <div id="notice"><%= flash[:notice] %></div> <% end -%>
.. which shows the flash notice in a particular location of my layout, which applies to all pages on my site. Otherwise, you will have to include which pages your flash notices appear on. Your flash notice could be appearing on the page but then you are redirecting to another page that might not have flash notices showing up on that page. Using the above in your layout will make it so that your notices show up in all pages that use the layout. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

