This gem add the "deep merge" feature to class Hash. It means that if you want to merge hashes that contains other hashes (and so on...), those sub-hashes will be merged as well. This is very handy, for example for merging data taken from YAML files.
Gemfile gem 'hash-deep-merge', '~> 0.1.1'
install gem install hash-deep-merge