Joined March 2012
·
Posted to
Call methods on object without worrying about that object may be nil
over 1 year
ago
Object#try is a Rails addition and not available in pure Ruby. Maybe update the tags to reflect that. If you want something similar in Ruby, there's a gem called "andand".
Posted to
Figure out who to blame with git
over 1 year
ago
If you are using Emacs, vc-mode has a nice blame interface (vc-annotate) which I can highly recommend.
Achievements
262 Karma
19,761 Total ProTip Views
Platypus 3
Have at least three original repo where scala is the dominant language
Platypus
Have at least one original repo where scala is the dominant language
Altruist
Increase developer well-being by sharing at least 20 open source projects
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Lemmings 100
Write something great enough to have at least 100 watchers of the project
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Mongoose
Have at least one original repo where Ruby is the dominant language
Narwhal
Have at least one original repo where Clojure is the dominant language
In case you are using Emacs, csv-mode is incredibly handy and lets you not only view CSV properly, but also sort columns etc. I know this tip is about the command line, but for us Emcas users the editor is the command line ;-)