Redirect_to and flash[:notice] issue

Hi,

I’m looking for a way to get messages that I put into flash[:notice]
to be accessible on a different view/different action from where I am
populating it. In one action, I am putting messages into the hash,
and then at the end I use redirect_to to load up a new action/view. I
would like the messages that I have put into flash[:notice] to appear
on this redirected to view, but it seems that the hash gets destroyed/
emptied during the redirect. Does anybody have any suggestions as to
how I could get this working?

Thanks,

Simon

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