Rather than writing
object.map{ |o| o.action },
I just found out that I could write
object.map(&:action).
I’m currently attempting to suppress a very strong urge to refactor everything in my current project. No curly braces, no pipes? Sign me up!
src & in the Ruby docs