http://alwaysmovefast.com/2008/01/30/ajax-in-rails-with-authenticity-token/

--
James Mitchell



On Sat, Nov 29, 2008 at 9:53 PM, pete <[EMAIL PROTECTED]> wrote:
>
> Hi-
>
> I am trying to use AJAX calls to login and logout of my Rails app so
> that the form renders in the side bar when you are not logged in, and
> your "profile" renders if you are.
>
> It all works, but when you logout, and try and log back in, you get
> "ActionController::InvalidAuthenticityToken", in the development.log.
>
> What does this mean, I can't figure out how to fix this??
>
> Thanks!
> >
>

--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to