Ruby notes

It is usually better to use ! rather than the more explicit == false.

When using .try with a method that takes options, pass them into try separated by commas:

.include?(q) becomes .try(:include?, q)

 
0
Kudos
 
0
Kudos

Now read this

Safari VS Chrome: An Experiment

I’m a huge Google fanboy. I’ll disclose that right now. But when it comes to hardware, you just can’t beat a macbook. And really, when it comes to full featured OS, you can’t beat OSX. One thing has always bothered me though, petty as it... Continue →