I'm using Heroku and Rails 3.1 with an SSL certificate for secure.example.com.
I only want pages with forms (secure.example.com/login, for example) to be behind secure.example.com. Any ideas?
I'm using Heroku and Rails 3.1 with an SSL certificate for secure.example.com.
I only want pages with forms (secure.example.com/login, for example) to be behind secure.example.com. Any ideas?
There's always the classic: https://github.com/rails/ssl_requirement. You can also introduce some middleware for all requests or roll your own before filter as described here: Force SSL using ssl_requirement in Rails 2 app