Flash doesnt work

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?

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

On 4/26/07, AbsolutZero [email protected] 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

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)

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…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs