My entire app is https, no http.
If add the following to any of the views
I get a \"edit user\" linked to
https://localhost:3000/user/2/edit
I believe that you have to put in your config/environments/production.rb:
config.action_mailer.default_url_options = {:protocol => 'https'}
Editing my config/environments/development file with
host = "hostaddress.io"
config.action_mailer.default_url_options = { host: host, protocol: 'https' }
worked for me on Rails 4.2.2.