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.

Options

What is this?

portrait of Justin

This is the online home of Justin French, a designer & web application developer located in Melbourne, Australia. I like finding ways to make things work better. I like clarifying and simplifying. I like to understand how you understand things.

» read more

Subscribe to my feed

Follow me on Twitter

@justinfrench

More Notebook Articles

Show more notebook articles

Search