mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
859f3bf024
- Action Mailer delivery job should modify their `perform` method signature in order to receive the new payload that Action Mailer sends. Before: ```ruby def perform(mailer, mail_method, delivery_method, *args) end ``` After: ```ruby def perform(mailer, mail_method, delivery_method, args:) end ``` This new behaviour was introduced couple years ago in a attempt to get rid of the necessity to have a different job for paramterized mailers. A deprecation was introduced for custom jobs inheriting from `ActionMailer::DeliveryJob` but for jobs that didn't it went unnoticed. The deprecated behaviour was supposed to be removed in Rails 6.1 but we couldn't and it got reverted https://github.com/rails/rails/pull/39257 |
||
---|---|---|
.. | ||
base.rb | ||
collector.rb | ||
delivery_job.rb | ||
delivery_methods.rb | ||
gem_version.rb | ||
inline_preview_interceptor.rb | ||
log_subscriber.rb | ||
mail_delivery_job.rb | ||
mail_helper.rb | ||
message_delivery.rb | ||
parameterized.rb | ||
preview.rb | ||
railtie.rb | ||
rescuable.rb | ||
test_case.rb | ||
test_helper.rb | ||
version.rb |