Has anyone noticed that flash notice dosent appear at all in firefox2 running with ubuntu? Is there a more cleaner and universal solution rather than flash notice? --~--~---------~--~----~------------~-------~--~----~ 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 14 Oct 2007, at 15:49, blackangel6291-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> > Has anyone noticed that flash notice dosent appear at all in firefox2 > running with ubuntu? Is there a more cleaner and universal solution > rather than flash notice? >Can''t say I have. But then again there is nothing in rails governing how flash[:notice] is displayed. Is there something particular about the way you are displaying it ? Fred
On 10/14/07, blackangel6291-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <blackangel6291-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Has anyone noticed that flash notice dosent appear at all in firefox2 > running with ubuntu? Is there a more cleaner and universal solution > rather than flash notice?Like Fred said, the flash itself doesn''t have any presentation; it''s just a storage area in the session that gets cleared after each request as a convenience. Perhaps you''re referring to the scaffold code that generates presentation for the flash. First question is: can you reproduce the problem on a plain vanilla install of Rails with no customization of the scaffolding or stylesheets. If not, the problem is in your app somewhere. If you can reproduce the problem, submit it to the Rails dev team (with a patch if possible). --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I am referring to my own code wich does not want to display the first presentation. Is there no other cleaner way to alert the user? --~--~---------~--~----~------------~-------~--~----~ 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 10/14/07, N/A N/A <blackangel6291-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am referring to my own code wich does not want to display the first > presentation. Is there no other cleaner way to alert the user?The flash is pretty clean, it''s about as basic as you can get. All the it does is keep the message around in between requests. What are you having trouble getting it to do? What failings does it have that you''re trying to get around? Show some code, and we can take a look at what''s going on instead of guessing. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I resolved the problem. I had my style sheets set to display the flash notifications in white :) Flash is clean, but very basic. I would want more control over it like effects, color, positioning, etc. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
The flash is simply a hash in the session that automatically removes itself after the next request (or current request with flash.now). It''s up to you to decide how to display and style it. -Bill N/A N/A wrote:> I resolved the problem. I had my style sheets set to display the flash > notifications in white :) > > Flash is clean, but very basic. I would want more control over it like > effects, color, positioning, etc. > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---