[Rails] Re: Flash notices are not accessible on next request

2009-05-12 Thread Luke Pearce
Tom Hoen wrote: > Luke - Thanks for responding. I use embedded Active Scaffolds, so need > to have render component installed. I commented out a line that called > flash.sweep: Thanks very much for this Tom. We're using ActiveScaffold too so this is really useful; let us know if you get a re

[Rails] Re: Flash notices are not accessible on next request

2009-05-11 Thread Tom Hoen
Luke Pearce wrote: > > I had the same issue - it was because of the render_component plugin. > Take that out and everything worked properly. > > However this might be something worth looking at too: > https://rails.lighthouseapp.com/projects/8994/tickets/2200-session-support-broken > Luke -

[Rails] Re: Flash notices are not accessible on next request

2009-05-08 Thread Luke Pearce
Tom Hoen wrote: > 7stud -- wrote: > >> Is there a second redirect in your code somewhere? > > That is a good thought. I was thinking along the same lines, so checked > the console after issuing a request that should end with a displayed > flash message and saw that there was only a single redi

[Rails] Re: Flash notices are not accessible on next request

2009-04-29 Thread Tom Hoen
7stud -- wrote: > Is there a second redirect in your code somewhere? That is a good thought. I was thinking along the same lines, so checked the console after issuing a request that should end with a displayed flash message and saw that there was only a single redirect. I also tried adding "k

[Rails] Re: Flash notices are not accessible on next request

2009-04-29 Thread 7stud --
Tom Hoen wrote: > Any thoughts would be greatly appreciated. Ok, total beginner here. As far as I know, the flash is only available to the next request after the current request, and then it's automatically deleted. So if your flash is empty, there must have been two requests since you set t