Method: Hash#deep_stringify_keys!

Defined in:
activesupport/lib/active_support/core_ext/hash/keys.rb

#deep_stringify_keys!Object

Destructively converts all keys to strings. This includes the keys from the root hash and from all nested hashes and arrays.



91
92
93
# File 'activesupport/lib/active_support/core_ext/hash/keys.rb', line 91

def deep_stringify_keys!
  deep_transform_keys! { |k| Symbol === k ? k.name : k.to_s }
end