What\'s the (fastest/cleanest/straightforward) way to convert all keys in a hash from strings to symbols in Ruby?
This would be handy when parsing YAML.
So many answers here, but the one method rails function is hash.symbolize_keys
hash.symbolize_keys