Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ActionMailer #930

Merged
merged 1 commit into from
Mar 9, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
require File.expand_path('../boot', __FILE__)

require "action_controller/railtie"
require "action_mailer/railtie"
require "rails/test_unit/railtie"
require "sprockets/railtie"

6 changes: 0 additions & 6 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
@@ -37,9 +37,6 @@
# In production, Apache or nginx will already do this
config.serve_static_files = false

# Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false

# Enable threaded mode
# config.threadsafe!

@@ -56,9 +53,6 @@
config.slimmer.use_cache = true
config.slimmer.asset_host = Plek.current.find('static')

config.action_mailer.default_url_options = { :host => Plek.current.find('frontend') }
config.action_mailer.delivery_method = :ses

# Enable JSON-style logging
config.logstasher.enabled = true
config.logstasher.logger = Logger.new("#{Rails.root}/log/#{Rails.env}.json.log")
5 changes: 0 additions & 5 deletions config/environments/test.rb
Original file line number Diff line number Diff line change
@@ -20,11 +20,6 @@
# Disable request forgery protection in test environment
config.action_controller.allow_forgery_protection = 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

# Use SQL instead of Active Record's schema dumper when creating the test database.
# This is necessary if your schema can't be completely dumped by the schema dumper,
# like if you have constraints or database-specific column types