How to test Rails 3 SSL enforcement with Capybara and Devise
A lot of Rails blog posts recommend that you only turn SSL on in production and don’t try to use it in the test or development environments. I explain why this is a big mistake and and present all the code I used to get SSL working with Rails 3, Capybara, and Devise.
Post a comment