InvalidAuthenticityToken when using Mechanize

I am sending post requests to another rails app via mechanize and
getting the InvalidAuthenticityToken error. I know its due to the
protect_from_forgery line on the application_controller. How do I
manage to overcome this?

Thanks a lot,


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs