From: Trans Date: 2008-01-02T21:50:46+09:00 Subject: Re: transform hash key from string into symbol On Jan 1, 9:28 pm, Andreas S wrote: > FYI, if you prefer, there is also 'facets' gem which has what you want.  You can selectively require parts of it. I think it's facets/hash_keyize. You're right, but that is the old library. Instead use Hash#rekey require 'facets/hash/rekey' {"a"=>1}.rekey #=> {:a=>1} {:a=>1}.rekey(&:to_s) #=> {"a"=>1} {"a"=>1}.rekey{|k| k.capitalize} #=> {"A"=>1} T.