mirror of https://github.com/rails/rails
Add missing `bigdecimal` require in `ActiveJob::Arguments`
Fix: https://github.com/rails/rails/issues/44399 Could cause `uninitialized constant ActiveJob::Arguments::BigDecimal (NameError)` when loading Active Job in isolation.
This commit is contained in:
parent
724988697c
commit
4ca5aff9f0
|
@ -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`
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require "bigdecimal"
|
||||
require "active_support/core_ext/hash"
|
||||
|
||||
module ActiveJob
|
||||
|
|
Loading…
Reference in New Issue