Forum: Ruby on Rails flash hash with ajax and redirect_to

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
A1a4c2242918e6dac241500b3263a4cd?d=identicon&s=25 Invincible Code (Guest)
on 2007-04-05 02:28
(Received via mailing list)
Hi,

I have a method in a controller which I am calling by using
link_to_remote
with update option.
The method performs some operations, sets the status message in the
flash
hash as flash[:notice], and then redirects the call to another action.
After redirect flash[:notice] disappears, is this behavior expected?


Thanks in advance
-Invincible
This topic is locked and can not be replied to.