osx - Varnish + Rails causes invalid authenticity tokens in development -


This is my position. I'm testing varnish on my local box (I'm doing a few things related to page caching. Every time I submit a form, everything works fine even when I submit a form, I get an ActionController :: InvalidAuthenticityToken exception.

Varnish is running at port 6081 on the localhost, and the port is running at the localhost port 80. When I try to use the site using port 6081, I get an exception.

Is there any way around this?

OK, so the reason it was unsuccessful was my VCL file out all Cookies are obviously on every request, this will cause some issues with authenticity tokens.

Fix the stupid for a silly problem: /


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -