Forum: Ruby on Rails isn't flash supposed to errr flash?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ae5630e75e47e0707c2ec932b00a102f?d=identicon&s=25 craigtmackenzie (Guest)
on 2005-12-06 00:52
Just started going through the rails in four days tutorial (after major
set-up / install issues..) and it's telling me about this flash feature,
which lets you "flash" a message to the user which then fades away (have
definately seen this on 37 sigs products) only thing is, mine ain't
flashing... they just stay there... i'm guessing the flash come from the
effects / prototype librarys right? do i have to include them in my
layout.rhtml or do i have to do something else? just curious is all...
0cfed8578fdd30c896da1e810bd34df9?d=identicon&s=25 virgild (Guest)
on 2005-12-06 01:31
(Received via mailing list)
The flash feature is used for passing short-lived data between two
calls. What you're describing is the fade effect javascript in the
effects.js file.

flash method:
Fade effect:

"craigtmackenzie" <>
wrote in message
Ef4d1b20eba4b45b4a477c33bae1d156?d=identicon&s=25 ksibilev (Guest)
on 2005-12-06 05:59
(Received via mailing list)
The flash stays in the session until the next request. If you set flash
you do not redirect_to, you will see it stay. In this case you should

Ae5630e75e47e0707c2ec932b00a102f?d=identicon&s=25 craigtmackenzie <> (Guest)
on 2005-12-06 09:53
oh ok i think i get it, so flash is like a way of sendng messages
between "states" like an edit then return to list ????

How would i ajax-ify this behaviour then, or is that a ruby on rails no
no (i'm still fairly new to ror)
This topic is locked and can not be replied to.