RubyFlow The Ruby and Rails community linklog

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in