diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/active_job/arguments.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_job/arguments.rb b/lib/active_job/arguments.rb index 6fe52397da..553ab20f65 100644 --- a/lib/active_job/arguments.rb +++ b/lib/active_job/arguments.rb @@ -28,7 +28,7 @@ module ActiveJob when Array deserialize(argument) when Hash - argument.with_indifferent_access + Hash[argument.map{ |key, value| [ key, deserialize([value]).first ] }].with_indifferent_access else ActiveModel::GlobalLocator.locate(argument) || argument end |