Array : Ruby - How to remove duplicates in array of hashes?

Published --