metu.life/config/initializers/delivery_job.rb

3 lines
89 B

ActionMailer::DeliveryJob.class_eval do
discard_on ActiveJob::DeserializationError
end