config: flip config.action_mailer.delivery_job

This is safe in all cases – except that it prevents a downgrade to
Rails 5. We don't intend to downgrade now, so this is fine.
This commit is contained in:
Pierre de La Morinerie 2020-07-13 17:52:40 +02:00
parent b556e2a99a
commit 4a9f081cfc

View file

@ -37,7 +37,7 @@ Rails.application.config.active_storage.replace_on_assign_to_many = true
# If you send mail in the background, job workers need to have a copy of # If you send mail in the background, job workers need to have a copy of
# MailDeliveryJob to ensure all delivery jobs are processed properly. # MailDeliveryJob to ensure all delivery jobs are processed properly.
# Make sure your entire app is migrated and stable on 6.0 before using this setting. # Make sure your entire app is migrated and stable on 6.0 before using this setting.
# Rails.application.config.action_mailer.delivery_job = "ActionMailer::MailDeliveryJob" Rails.application.config.action_mailer.delivery_job = "ActionMailer::MailDeliveryJob"
# Enable the same cache key to be reused when the object being cached of type # Enable the same cache key to be reused when the object being cached of type
# `ActiveRecord::Relation` changes by moving the volatile information (max updated at and count) # `ActiveRecord::Relation` changes by moving the volatile information (max updated at and count)