rails/activejob/test
Jean Boussier afa019835b Fix ActiveJob::EnqueueAfterTransactionCommit API
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.
2024-04-10 09:20:12 +02:00
..
adapters Remove QueAdapter from Active Job 2022-09-12 22:31:10 +09:00
cases Fix ActiveJob::EnqueueAfterTransactionCommit API 2024-04-10 09:20:12 +02:00
integration Fix Active Job skips 2023-11-30 11:11:22 -05:00
jobs Implement Active Job enqueue_after_transaction_commit 2024-04-03 16:32:16 +02:00
models [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
serializers [Fix #50230] Preserve serialized timezone when deserializing with ActiveJob::Serializers::TimeWithZoneSerializer 2023-12-03 00:37:09 +10:00
support Remove usage of OpenStruct 2024-04-09 21:35:08 +03:00
helper.rb Fix ActiveJob::EnqueueAfterTransactionCommit API 2024-04-10 09:20:12 +02:00