From: Erik Veenstra Date: 2007-03-07T08:41:45+09:00 Subject: Re: remove duplicates of array of object based on a attribute > Hash[ *a.map{ |o| [ o[:id], o ] }.flatten ].values Not bad... How does this ensure that the maximum :w is used? gegroet, Erik V. - http://www.erikveen.dds.nl/