I have an array of hashes, and I want the unique values out of it. Calling Array.uniq doesn\'t give me what I expect.
Array.uniq
a = [{:a => 1},{:a =&g
found on google http://mikeburnscoder.wordpress.com/2008/01/18/uniquify-an-array-of-hashes-in-ruby/