I’m using force_ssl (Rails 3.1, specifically in the Devise config) to make sure that the user signs in on a secure page. But after that I’d like to switch back to http. How do I do that? In other words: how do your force non-ssl?
Note that i’m running on Heroku, so I cannot modify a http rewriter or something similar.
If you implement the code found in this gist it should take care of the redirects back to http for you.