Ruby on Rails, Rails 5で “Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true” といったエラーが出る場合の対処方法についてのメモです。
/config/environments/ のそれぞれのファイルにconfig.action_mailer.default_url_options = { :host => "" }
を設定する。