Devise, SSL requirements and post data

less than 1 minute read

I am using rails 2.3.8, devise 1.0.11 and ssl_requirements 0.1.0. I am having strange behaviour when mixing devise with ssl_requirements. When a form posts to an action that is required to be ssl, the post is redirected to ssl as a get, and looses its post data !

To workaround the problem, I had to require ssl for the form itself aswell.

I hope the situation will be better once I migrate to rails 3 and to newer versions of devise and ssl_requirements.

I usually write about 15 minutes worth of reading per month. I won't transfer your email. No Spam, unsubscribe whenever you want.

As a gift for subscribing, you'll receive an illustrated mini-ebook "How to start a team coding dojo"!

Leave a comment