Difference between Action Job/Mailer's `deliver_now` and `deliver_later`
问题 The common pattern for interfacing with ActionJob in Rails is to set up a Job with a perform() method that gets called asynchronously via perform_now or perform_later In the special case of Mailers, you can directly call deliver_now or deliver_later since ActionJob is well integrated with ActionMailer . The rails documentation has the following comments - # If you want to send the email now use #deliver_now UserMailer.welcome(@user).deliver_now # If you want to send the email through Active