I'l have to find it.  The team changed it to a render instead of a
redirect(as a temp fix) I have to change it back to tell you.  We
really hacked it.  I had redirect_to :index and now it is:

#update_code
index
render :index
#failed update code

Horrible!

I'll get on changing it back and let you know.

On Wed, Apr 22, 2009 at 6:28 PM, Michael Koziarski
<[email protected]> wrote:
>
>> Should flash still be persisting through redirects?  Until the recent
>> release, when I had:
>>
>> flash[:error] = "Foo"
>> redirect_to login_url
>>
>> The flash would be populated and displayed on the login page.  Now the
>> flash is being cleared.  Is this intentional, and if so why?
>
> No, and this works for me at present.  As John mentioned, the double
> redirect is the likely cause.  What do your logs show?
>
>
>> --
>> Amos King
>> aka: Adkron
>> http://dirtyInformation.com
>> http://github.com/Adkron
>> --
>> Looking for something to do? Visit http://ImThere.com
>>
>> >
>>
>
>
>
> --
> Cheers
>
> Koz
>
> >
>



-- 
Amos King
http://dirtyInformation.com
http://github.com/Adkron
--
Looking for something to do? Visit http://ImThere.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to