I have SSL working in production on Heroku. Except I set it up so that SSL is used only with the https://secure.example.com.
In my Rails application and DNS manager (Go Daddy), how can I ensure that all visits (www.domain.com/, domain.com/, https://domain.com) all forward to https://secure.domain.com?
Thanks in advance for your help.
in your application controller, make a before filter with: