mikestok/lasdb — comment on commit 0a9ba2223c10a8eeffbe08857bff71ce9d8587d8
File: config/environments/production.rb line 2
By mikestok:

Once we get to rails 3.1.x+ we can use config.force_ssl. For now http://www.simonecarletti.com/blog/2011/05/configuring-rails-3-https-ssl/ suggested this, and it works.