apramanik
2008-Mar-22 17:56 UTC
ActionController::InvalidAuthenticityToken not thrown in Windows
Hi all, I''m getting some weird behavior. I''m developing on two machines, one with os x and the other with windows xp. I was testing one of my registration forms and it worked fine when mongrel_rails was run on the windows machine, but when mongrel was run on os x it kept throwing "ActionController::InvalidAuthenticityToken". I realized I had forgotten the <%= token_tag %>, but it''s worrisome that when the server was run on xp it took the form happily. What''s going on? Thanks! Abhik --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
apramanik
2008-Mar-22 18:02 UTC
Re: ActionController::InvalidAuthenticityToken not thrown in Windows
I''m using Ruby 1.8.6, Rails 2.0.2, and Mongrel 1.1.3 On Mar 22, 10:56 am, apramanik <abh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi all, > > I''m getting some weird behavior. I''m developing on two machines, one > with os x and the other with windows xp. I was testing one of my > registration forms and it worked fine when mongrel_rails was run on > the windows machine, but when mongrel was run on os x it kept throwing > "ActionController::InvalidAuthenticityToken". I realized I had > forgotten the <%= token_tag %>, but it''s worrisome that when the > server was run on xp it took the form happily. What''s going on? > Thanks! > > Abhik--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
apramanik
2008-Mar-22 18:03 UTC
Re: ActionController::InvalidAuthenticityToken not thrown in Windows
Mongrel 1.1.2 on windows On Mar 22, 10:56 am, apramanik <abh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi all, > > I''m getting some weird behavior. I''m developing on two machines, one > with os x and the other with windows xp. I was testing one of my > registration forms and it worked fine when mongrel_rails was run on > the windows machine, but when mongrel was run on os x it kept throwing > "ActionController::InvalidAuthenticityToken". I realized I had > forgotten the <%= token_tag %>, but it''s worrisome that when the > server was run on xp it took the form happily. What''s going on? > Thanks! > > Abhik--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
AndyV
2008-Mar-24 14:11 UTC
Re: ActionController::InvalidAuthenticityToken not thrown in Windows
Not sure what issue you''re facing. I get the authenticity token thrown when expected on my WinXP machines. On Mar 22, 1:56 pm, apramanik <abh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi all, > > I''m getting some weird behavior. I''m developing on two machines, one > with os x and the other with windows xp. I was testing one of my > registration forms and it worked fine when mongrel_rails was run on > the windows machine, but when mongrel was run on os x it kept throwing > "ActionController::InvalidAuthenticityToken". I realized I had > forgotten the <%= token_tag %>, but it''s worrisome that when the > server was run on xp it took the form happily. What''s going on? > Thanks! > > Abhik--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---