Shai Rosenfeld wrote: > any nice way to do this? > array.inject({}) { |h,e| (h[e.att1] ||= []) << e; h } -- Florian Frank