News for hackers. Stuff that matters.
Re:The Totally Unofficial Ruby coding style guide by swombat on Monday September 12, 2011 @11:35AM (#2987651)
> Prefer map over collect, find over detect, find_all over select, size over length. This is not a hard requirement, though - if the use of the alias enhances readability - it's ok to use it.

Not too sure about that... I prefer collect/detect/select/reject...

> Keep existing comments up-to-date - no comment is better than an outdated comment.

Ambiguous sentence warning!

Re:The Totally Unofficial Ruby coding style guide by nakajima on Monday September 12, 2011 @12:35PM (#2987876)
Using #find in a Rails project tends to be a mistake, especially when used on an ActiveRecord association proxy.