1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #44411 from byroot/aj-bigdecimal

Add missing `bigdecimal` require in `ActiveJob::Arguments`
This commit is contained in:
Jean Boussier 2022-02-12 10:08:06 +01:00 committed by GitHub
commit bcc3a49ccc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -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`

View file

@ -1,5 +1,6 @@
# frozen_string_literal: true
require "bigdecimal"
require "active_support/core_ext/hash"
module ActiveJob