Skip to content

Commit 8968971

Browse files
committed
Remove ActionMailer
1 parent 0728ae1 commit 8968971

File tree

8 files changed

+1
-75
lines changed

8 files changed

+1
-75
lines changed

test/dummy/app/mailers/application_mailer.rb

Lines changed: 0 additions & 4 deletions
This file was deleted.

test/dummy/app/views/layouts/mailer.html.erb

Lines changed: 0 additions & 13 deletions
This file was deleted.

test/dummy/app/views/layouts/mailer.text.erb

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/dummy/config/application.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
require_relative "boot"
22

3+
require "rails"
34
require "active_model/railtie"
45
require "active_job/railtie"
56
require "active_record/railtie"
67
require "action_controller/railtie"
7-
require "action_mailer/railtie"
88
require "action_view/railtie"
99
require "sprockets/railtie"
10-
require "rails/test_unit/railtie"
1110

1211
# Require the gems listed in Gemfile, including any gems
1312
# you've limited to :test, :development, or :production.

test/dummy/config/environments/development.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@
3333
# Store uploaded files on the local file system (see config/storage.yml for options).
3434
config.active_storage.service = :local
3535

36-
# Don't care if the mailer can't send.
37-
config.action_mailer.raise_delivery_errors = false
38-
39-
config.action_mailer.perform_caching = false
40-
4136
# Print deprecation notices to the Rails logger.
4237
config.active_support.deprecation = :log
4338

test/dummy/config/environments/production.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,6 @@
5858
# Use a different cache store in production.
5959
# config.cache_store = :mem_cache_store
6060

61-
# Use a real queuing backend for Active Job (and separate queues per environment).
62-
# config.active_job.queue_adapter = :resque
63-
# config.active_job.queue_name_prefix = "dummy_production"
64-
65-
config.action_mailer.perform_caching = false
66-
67-
# Ignore bad email addresses and do not raise email delivery errors.
68-
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
69-
# config.action_mailer.raise_delivery_errors = false
70-
7161
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
7262
# the I18n.default_locale when a translation cannot be found).
7363
config.i18n.fallbacks = true

test/dummy/config/environments/test.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,6 @@
3535
# Store uploaded files on the local file system in a temporary directory.
3636
config.active_storage.service = :test
3737

38-
config.action_mailer.perform_caching = false
39-
40-
# Tell Action Mailer not to deliver emails to the real world.
41-
# The :test delivery method accumulates sent emails in the
42-
# ActionMailer::Base.deliveries array.
43-
config.action_mailer.delivery_method = :test
44-
4538
# Print deprecation notices to the stderr.
4639
config.active_support.deprecation = :stderr
4740

test/dummy/config/locales/en.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)