mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
acbbd4ab8d
Some adapters like Resque that use Redis, convert the Ruby hash with a default value, Hash.new(0), into a regular hash without a default value after serializing, storing and deserializing. This raises an error when we try to access a missing exception key. A simple solution is not to rely on the hash's default value, and provide a default as alternative when accessing it instead. |
||
---|---|---|
.. | ||
active_job | ||
rails/generators/job | ||
active_job.rb |