# Flash doesnt work

**URL:** <https://www.ruby-forum.com/t/flash-doesnt-work/93022>\
**Category:** Rails\
**Created:** [April 26, 2007, 6:02pm UTC](https://www.ruby-forum.com/t/flash-doesnt-work/93022 "2007-04-26T18:02:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dasch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b2d939/32.png) [@dasch](https://www.ruby-forum.com/u/dasch)\
**Post date:** [April 26, 2007, 6:02pm UTC](https://www.ruby-forum.com/t/flash-doesnt-work/93022/1 "2007-04-26T18:02:04Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![dasch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b2d939/32.png) [@dasch](https://www.ruby-forum.com/u/dasch)\
**Post date:** [April 26, 2007, 6:28pm UTC](https://www.ruby-forum.com/t/flash-doesnt-work/93022/2 "2007-04-26T18:28:06Z")

</div>

A bit more info? Do you set them when you generate notices?

On 4/26/07, AbsolutZero [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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](http://www.web-buddha.co.uk)

---

<div class="post-metadata">

**Author:** ![dasch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b2d939/32.png) [@dasch](https://www.ruby-forum.com/u/dasch)\
**Post date:** [April 26, 2007, 10:41pm UTC](https://www.ruby-forum.com/t/flash-doesnt-work/93022/3 "2007-04-26T22:41:34Z")

</div>

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:

\<%= flash[:notice] %\>

AWDWROR has a good intro at 16.6 (pg 322 in mine)

---

<div class="post-metadata">

**Author:** ![dasch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b2d939/32.png) [@dasch](https://www.ruby-forum.com/u/dasch)\
**Post date:** [April 30, 2007, 4:13am UTC](https://www.ruby-forum.com/t/flash-doesnt-work/93022/4 "2007-04-30T04:13:59Z")

</div>

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…
