“default_url_optionsのhostを指定する config.action_mailer.default_url_options = { host: 'localhost:3000' }”

kent-where-the-light-iskent-where-the-light-is のブックマーク 2016/12/12 12:38

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

ActionMailerでHelperを呼び出すとエラーになる - Qiita

    ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう