I\'m looking to learn how to cleanup my app\'s URLs. My app is powered by Rails 3 on Heroku.
The desired URL is https://www.example.comite.com
https://www.example.comite.com
I
As an extension to user2100689's answer, in Rails 3+ you can use config.force_ssl = true in config/environments/production.rb
config.force_ssl = true
The line can just be uncommented as follows
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. config.force_ssl = true