074d431493
Durations that were round-tripped through ActiveJob::Arguments.serialize would appear fine at a first glance, but trying to perform duration-math on them would fail: ``` irb(main):001:0> d = ActiveJob::Arguments.deserialize(ActiveJob::Arguments.serialize([1.year]))[0] => 1 year irb(main):002:0> d + 1.day activesupport-6.1.4.4/lib/active_support/duration.rb:242:in `+': undefined method `merge' for [[:years, 1]]:Array (NoMethodError) ``` |
||
---|---|---|
.. | ||
adapters | ||
cases | ||
integration | ||
jobs | ||
models | ||
support | ||
helper.rb |