Skip to content

Commit

Permalink
Merge pull request #44411 from byroot/aj-bigdecimal
Browse files Browse the repository at this point in the history
Add missing `bigdecimal` require in `ActiveJob::Arguments`
  • Loading branch information
byroot committed Feb 12, 2022
2 parents 7249886 + 4ca5aff commit bcc3a49
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions activejob/CHANGELOG.md
@@ -1,3 +1,10 @@
* Add missing `bigdecimal` require in `ActiveJob::Arguments`

Could cause `uninitialized constant ActiveJob::Arguments::BigDecimal (NameError)`
when loading Active Job in isolation.

*Jean Boussier*

* Allow testing `discard_on/retry_on ActiveJob::DeserializationError`

Previously in `perform_enqueued_jobs`, `deserialize_arguments_if_needed`
Expand Down
1 change: 1 addition & 0 deletions activejob/lib/active_job/arguments.rb
@@ -1,5 +1,6 @@
# frozen_string_literal: true

require "bigdecimal"
require "active_support/core_ext/hash"

module ActiveJob
Expand Down

0 comments on commit bcc3a49

Please sign in to comment.