afa019835b
Fix: https://github.com/rails/rails/pull/51426#issuecomment-2042611790 `perform_later` is supposed to return the Job instance on success, and `false` on error. When the `enqueue` is automatically delayed, it's of course impossible to predict if the actual queueing will succeed, but for backward compatibility reasons, it's best to assume it will. If necessary, you can hold onto the job instance and check for `#successfully_enqueued?` after the transaction has completed. |
||
---|---|---|
.. | ||
active_support | ||
active_support.rb |