rails/rails — pull request #6259 by markmcspadden (2012-05-10 21:12:50+00:00)
Title: Add Hash#transform_keys and Hash#transform_keys!

Having been in discussions about the "best" way convert hash keys to a) integers last week and b) camelcase strings this week, I thought this would be helpful.

Also refactored `Hash#stringify_keys`, `Hash#stringify_keys!`, `Hash#symbolize_keys`, `Hash#symbolize_keys!` methods to use the transform_key methods.