From: Gregory Seidman Date: 2006-11-29T23:33:54+09:00 Subject: Re: Array#group_by On Wed, Nov 29, 2006 at 10:55:37PM +0900, Gareth Adams wrote: } I posted this on the Rails list, but then I realised it would make more sense } over here: } } ------- } } Just thought I'd share a function which has been really useful to me, for 2 } reasons } } 1) It could easily help someone else } 2) People might be able to make it work better or point out where it's not } optimal See http://redcorundum.blogspot.com/2006/06/enumerablebucketby-and-uniqby-and.html for a post of mine from June that covers that, and more. --Greg