From 903ae02bbe47c6d043c157c66f4deb11a273a325 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Wed, 6 Feb 2019 13:51:33 +0100 Subject: [PATCH] Prevent development servers from trying to send an email --- config/action_mailer.yml.example | 1 + 1 file changed, 1 insertion(+) diff --git a/config/action_mailer.yml.example b/config/action_mailer.yml.example index 6c483b92..5948ee9f 100644 --- a/config/action_mailer.yml.example +++ b/config/action_mailer.yml.example @@ -7,6 +7,7 @@ development: <<: *default default_url_options: host: localhost + delivery_method: :test production: <<: *default