deep_*_keys works with arrays nested in hash!
In case you are not aware, deep_
hash keys transforms work with nested arrays as well!
{ a: 10, b: { c: 20, d: [{e: 30}, {f: 40}]}}.deep_stringify_keys
# => {"a"=>10, "b"=>{"c"=>20, "d"=>[{"e"=>30}, {"f"=>40}]}}
Tweet