rails/rails — pull request #17388 by akampjes (2014-10-25 10:32:16+00:00)
Title: ActionMailer https on URL with force_ssl = true

`config.force_ssl = true` will set
config.action_mailer.default_url_options = { protocol: 'https' }

If you have turned on force_ssl, and then gone to the effort of setting
a config.action_mailer.default_url_options = {host: 'example.com'} then
you are probably pointing people back to your current app and want
https on that too.