From e1609e9f93c78a127010c2ca9dfc85df7926ecde Mon Sep 17 00:00:00 2001 From: Sepehr Behmanesh Fard Date: Sat, 17 Feb 2024 19:33:56 -0800 Subject: [PATCH] Chore: turned off action mailer --- config/application.rb | 2 +- config/environments/development.rb | 4 ++-- config/environments/production.rb | 2 +- config/environments/test.rb | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/application.rb b/config/application.rb index b1b8b31..041c362 100644 --- a/config/application.rb +++ b/config/application.rb @@ -7,7 +7,7 @@ require "active_record/railtie" require "active_storage/engine" require "action_controller/railtie" -require "action_mailer/railtie" +# require "action_mailer/railtie" require "action_mailbox/engine" require "action_text/engine" require "action_view/railtie" diff --git a/config/environments/development.rb b/config/environments/development.rb index f4a7fc5..8f64d3a 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -41,9 +41,9 @@ config.active_storage.service = :local # Don't care if the mailer can't send. - config.action_mailer.raise_delivery_errors = false + # config.action_mailer.raise_delivery_errors = false - config.action_mailer.perform_caching = false + # config.action_mailer.perform_caching = false # Print deprecation notices to the Rails logger. config.active_support.deprecation = :log diff --git a/config/environments/production.rb b/config/environments/production.rb index 5c2f34c..0f626a2 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -71,7 +71,7 @@ # config.active_job.queue_adapter = :resque # config.active_job.queue_name_prefix = "flextentions_production" - config.action_mailer.perform_caching = false + # config.action_mailer.perform_caching = false # Ignore bad email addresses and do not raise email delivery errors. # Set this to true and configure the email server for immediate delivery to raise delivery errors. diff --git a/config/environments/test.rb b/config/environments/test.rb index fdf88c0..9da3cdf 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -41,12 +41,12 @@ # Store uploaded files on the local file system in a temporary directory. config.active_storage.service = :test - config.action_mailer.perform_caching = false + # config.action_mailer.perform_caching = false # Tell Action Mailer not to deliver emails to the real world. # The :test delivery method accumulates sent emails in the # ActionMailer::Base.deliveries array. - config.action_mailer.delivery_method = :test + # config.action_mailer.delivery_method = :test # Print deprecation notices to the stderr. config.active_support.deprecation = :stderr