No problem. It sounds like all 3 of us were basically on the same trail. =-)
Rob On June 20, 2013 at 18:43:48 , Scott Olmsted ([email protected]) wrote: Rob, Yes, that was the answer! The mailer url configuration should not contain the protocol: config.action_mailer.default_url_options = { :host => 'sleepconnect.herokuapp.com' } and then the protocol of the link is controlled by the :protocol option: edit_password_url(@resource, :reset_password_token => @resource.reset_password_token) producing http://myapp.herokuapp.com/users/password/edit?reset_password_token=3n5fy9kQ49HxNxs1pXzv and edit_password_url(@resource, :reset_password_token => @resource.reset_password_token, :protocol => "https") producing https://myapp.herokuapp.com/users/password/edit?reset_password_token=3n5fy9kQ49HxNxs1pXzv Thanks, Rob! Scott -- -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby --- You received this message because you are subscribed to the Google Groups "SD Ruby" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out. -- -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby --- You received this message because you are subscribed to the Google Groups "SD Ruby" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
