class Hash
def symbolize_keys
hash.symbolize_keys
hash = { 'name' => 'Rob', 'age' => '28' }
they respond to +to_sym+.
Returns a new hash with all keys converted to symbols, as long as
def symbolize_keys transform_keys { |key| key.to_sym rescue key } end