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: June 2011
One of the ways you know you are working in a good language is that it makes bad habits ugly. To wit: # params[:foo] might be missing value = params[:foo].try(:, :bar) This is not pretty. It is, as my dad … Continue reading
EDIT: Courtesy of Charles Feduke, this post is now available in video form as well: CodeBlaster5000: Dude, you are an agile coach? We do agile! AgileZenMaster23: “Coach”?. I am an Agile ascetic. I point at the moon. CodeBlaster5000: That’s cool. … Continue reading
Ruby is in many ways a better Perl, and it inherits a lot of its culture from the Perl community. One of the lessons I remember being hammered into my head early in the Perl community was the importance of … Continue reading
After a blessedly quiet June, my conference schedule is filling up again. I’m pleased to announce that I’ll be speaking at the following fine conferences: July 29-30: Cascadia Ruby Conf in Seattle, Washington August 11-13: Lone Star Ruby Conference in … Continue reading
Oddly, emacs-server doesn’t seem to have an option to write a PID file when it starts up. Here’s some ELisp you can drop into your init file to make it happen:
I ran into a project that required a running Redis server for the tests and development environment to work. Here’s what I threw into the Guardfile to make sure a Redis server was running during development. It starts a new … Continue reading
If you’re reading this blog there’s a good chance you already know about Hoptoad. For those who don’t know, Hoptoad is a hosted service that does application error logging. You configure your Ruby on Rails, iOS (or other kinds of … Continue reading