About
Hi! I'm Avdi Grimm, and this is my software development blog. More...
Books and Screencasts
Objects on Rails
A developer notebook on applying classic Object-Oriented principles to Ruby on Rails projects.
-
Subscribe
-
Recent Posts
Archives
Categories
Meta
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 design patterns, Null Object, oo, patterns, Presenter Pattern, ruby
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 Calibre, E-book, EPUB, exceptions, html, IPad, mobi, pdf, Publishing
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
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
“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 eBook, errors, Exception handling, fail-fast, failures, programming, raise, rescue, ruby
6 Comments




