mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
95e06e6682
They would be lost when the delivery job is enqueued, otherwise. Prevents a common, hard-to-find bug like: ```ruby message = Notifier.welcome(user, foo) message.message_id = my_generated_message_id message.deliver_later ``` The message_id is silently lost here! *Only the mailer arguments are passed to the delivery job.* This raises an exception now. Make modifications to the message within the mailer method or use a custom Active Job to manage delivery instead of using #deliver_later. |
||
---|---|---|
.. | ||
base.rb | ||
collector.rb | ||
delivery_job.rb | ||
delivery_methods.rb | ||
gem_version.rb | ||
inline_preview_interceptor.rb | ||
log_subscriber.rb | ||
mail_helper.rb | ||
message_delivery.rb | ||
preview.rb | ||
railtie.rb | ||
test_case.rb | ||
test_helper.rb | ||
version.rb |