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: June 2011
Do, or do not. There is no #try.
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
Agile is whatever you want it to be
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
Your code is broken, and Ruby can help you fix it
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
Summer Speaking Schedule
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
Posted in Conferences
3 Comments
Make Emacs-Server Write a PID File
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:
A Guardfile for Redis
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
Get Two Free Months of Hoptoad with Exceptional Ruby
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
Posted in Books
Tagged errors, Exception handling, exceptions, failures, Hoptoad, reporting, Ruby on Rails
1 Comment




