Ruby-fu and Rails-fu with Err the Blog
Published 19 December 06 by Justin French
There’s lots of gems in here (pun intended, I guess), but some of my “wow, didn’t know that” highlights include Day 8 (Array#to_sentence), Day 12 (Array#in_groups_of) and Day 24 (Enumerable#index_by):
Man, how many times have you wanted to take an array and turn it into a hash keyed by some sort of attribute? Like maybe the ID of the element or its name? All the friggin’ time, right? Again, never again.
Amen.
Utterly worth reading, bookmarking, digging, deliciousing, passing around your development team, printing on gold leaf, miming in a game of charades, chanting, interpreting through dance and reading again.
Before you go…
Here’s some links to my most popular posts: