diff options
author | Kevin Deisz <kevin.deisz@gmail.com> | 2015-04-26 13:05:08 -0400 |
---|---|---|
committer | Kevin Deisz <kevin.deisz@gmail.com> | 2015-05-05 10:30:16 -0400 |
commit | dd8e859829bfcfd8cb0287ce804055b827a35af1 (patch) | |
tree | 71a31b6996d3b81766ff33eddf2f2d995b02d6b7 /activejob/CHANGELOG.md | |
parent | 918aa6e87813c5c7687e5d460c5cd62ba3919536 (diff) | |
download | rails-dd8e859829bfcfd8cb0287ce804055b827a35af1.tar.gz rails-dd8e859829bfcfd8cb0287ce804055b827a35af1.tar.bz2 rails-dd8e859829bfcfd8cb0287ce804055b827a35af1.zip |
Get provider_job_id from DelayedJob
When queueing with DelayedJob, get the id of the job instance and report
it back to ActiveJob as provider_job_id.
Diffstat (limited to 'activejob/CHANGELOG.md')
-rw-r--r-- | activejob/CHANGELOG.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/activejob/CHANGELOG.md b/activejob/CHANGELOG.md index 1c55c1a4b8..6f9aa76a1f 100644 --- a/activejob/CHANGELOG.md +++ b/activejob/CHANGELOG.md @@ -1,3 +1,10 @@ +* Allow `DelayedJob` to report id back to `ActiveJob::Base` as + `provider_job_id`. + + Fixes #18821. + + *Kevin Deisz* + * `assert_enqueued_jobs` and `assert_performed_jobs` in block form use the given number as expected value. This makes the error message much easier to understand. |