I think that I pick this up from one of the ruby tapas episodes on Hash.fetch.