If anyone else is running into this issue here is how I ended up
handling it
http://gist.github.com/94801
On Apr 13, 3:09 pm, sprite
<aake.gregert...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Scenario:
>
> 1. Log in a user.
> 2. Go to a page with a form.
> 3. Open a new tab and log out the user.
> 4. Go back to previous tab and submit form.
> 5. It throws InvalidAuthenticityToken before getting to my login code.
> I need to redirect the user to a log in screen. What''s the best
way to
> capture this and handle this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---