I have flash[:notice] lines everywhere throughout my application, and not once has one popped up. Is there something else you have to set to make these come up? --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
A bit more info? Do you set them when you generate notices? On 4/26/07, AbsolutZero <absolut0music-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > I have flash[:notice] lines everywhere throughout my application, and > not once has one popped up. Is there something else you have to set to > make these come up? > > > > >-- http://www.web-buddha.co.uk --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Thursday 26 April 2007, AbsolutZero wrote:> > I have flash[:notice] lines everywhere throughout my application, and > not once has one popped up. Is there something else you have to set to > make these come up? >oooh oooh I know I know!! you need to have something like this in your view, I have it in layouts/application.rhtml right now: <p style="color: green"><%= flash[:notice] %></p> AWDWROR has a good intro at 16.6 (pg 322 in mine) --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
ok that did work... However, I was under the impression that the flash notice was a pop-up message, like outside the webpage. I didnt know it was embedded inside the html... On Apr 26, 4:39 pm, szbeam <szb...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Thursday 26 April 2007, AbsolutZero wrote: > > > > > I have flash[:notice] lines everywhere throughout my application, and > > not once has one popped up. Is there something else you have to set to > > make these come up? > > oooh oooh I know I know!! > > you need to have something like this in your view, I have it in > layouts/application.rhtml right now: > > <p style="color: green"><%= flash[:notice] %></p> > > AWDWROR has a good intro at 16.6 (pg 322 in mine)--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---