I’ve been learning Ruby and Rails in my copious spare time. I found this
post instructive on how to write idiomatic Ruby instread of Ruby as C:
Idiomatic
Ruby
.