to_hash()
Convert to a regular hash with string keys.
# File activesupport/lib/active_support/hash_with_indifferent_access.rb, line 380 def to_hash _new_hash = Hash.new set_defaults(_new_hash) each do |key, value| _new_hash[key] = convert_value(value, conversion: :to_hash) end _new_hash end