Monthly Archives: May 2011

Null Objects and Falsiness

Thank you to Ben Hamill for sending me a question that prompted this post. Checking for object presence Very often in Ruby code, we would like to execute some action only if an object is present: def slug(title) if title … Continue reading

Posted in Ruby | Tagged , , , , , | 39 Comments

Exceptional Ruby now available in ePub, Mobi, and HTML

By far the most common request I’ve received from buyers of Exceptional Ruby is for mobile formats, and today I’m happy to grant those requests. All current Exceptional Ruby buyers have received new download links for a combined PDF/ePub/Mobi/HTML download, … Continue reading

Posted in Books | Tagged , , , , , , , , | Leave a comment

Keep local modifications in Git-tracked files

I often find that I want to make local changes in configuration files that have been checked-in to Git. For instance, I find that the database.yml has been checked in to a Rails project, and I need to override the … Continue reading

Posted in Howto | Tagged , , | 9 Comments

RailsConf, BohConf, DCRUG Video

DCRUG First off, I had a great time at DCRUG last night. I enjoyed getting a peek at Jeff Casimir‘s “pre-alpha” presentation on Rails views. And Joel Strait‘s live demo of BEATS was very cool. I did something a little … Continue reading

Posted in Conferences | Tagged , , , | Leave a comment

“Exceptional Ruby” Now Available!

I am very, very excited to announce that the final version of my new eBook “Exceptional Ruby” is now available for immediate purchase. Originally born out of the realization that I had more material about Ruby failure handling than I … Continue reading

Posted in Books, Ruby | Tagged , , , , , , , , | 6 Comments