提交 59e4c996 编写于 作者: R Ryuta Kamizono

Merge pull request #38053 from Shopify/actionmailer-6-0-stable-ruby-2.7-warnings

Fix Ruby 2.7 warnings in Action Mailer 6.0
上级 008c4669
......@@ -38,7 +38,13 @@ def perform_now
successfully_performed = false
run_callbacks :perform do
perform(*arguments)
args = arguments
options = args.extract_options!
if options.empty?
perform(*args)
else
perform(*args, **options)
end
successfully_performed = true
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册