Hi! I'm Avdi Grimm, and this is my software development blog. More...
Books and Screencasts
Small plates of gourmet Ruby code.
Watch me build an app from scratch.
Objects on Rails
A developer notebook on applying classic Object-Oriented principles to Ruby on Rails projects.
The definitive guide to exceptions and failure handling in Ruby.
Monthly Archives: April 2011
As you probably know I’m writing an eBook called “Exceptional Ruby”, based on my talk of the same name. For a couple of months now it has been available as a Beta release, as I work on adding the last … Continue reading
I’m really enjoying Red Dirt Ruby Conference so far! Love the single-track, short-talks format. Also, I got free jerky from Jerky.com, which is awesome. If you’re coming in because of my DataMapper talk, here are some notes: Slides: http://avdi.org/talks/datamapper-rdrc-2011/ Rate the … Continue reading
I can’t take credit for this one; that goes to Ben Lindsey. But since the answer I needed was buried in a comment, I thought I’d give it a little more googleability. RubyMine needs to load special test formatters for … Continue reading
As a RailsConf speaker, I have a 20% discount code to give out, and here it is: rc11fos. If you’re planning on attending RailsConf, be sure to track me down and say hi! This seems like an opportune moment to … Continue reading
A rather long and rambling demonstration of Myron Marston’s VCR library. This screencast covers: What VCR is, and why you might want to use it Configuring VCR in a Rails 3 app Creating Cucumber helpers for organizing VCR cassettes Starting … Continue reading
A couple years ago I wrote a library called AlterEgo. It’s an implementation of the State Pattern for Ruby. I consider the library to be retired at this point—other libraries, such as State Machine and ActiveModel, have since incorporated all … Continue reading
A quick guide to getting up and running with the Erector templating library. EDIT: Here’s the fork and branch I used to get it working.