config/environments/development.rb config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }