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.
It’s been way too long since I posted a Monday freebie. Today’s little video tries to answer a question I hear pretty often: what’s the difference between blocks, procs, and lambdas—and which one should I use?
A guest from Larry Marburger about HTTP Digest Authentication, and why it’s not a viable candidate for authenticating modern RESTful APIs. Continue reading
I didn’t say mean things about Heather Arthur’s code. But I could have. I didn’t see the tweets about her “replace” project that started things off. But I do share the opinion of a number of my colleagues that using … Continue reading
A bunch of people have asked about my screencasting process for RubyTapas. My process is a work in progress that I frequently iterate on, so this is really just a snapshot of my process as of January 2013. I don’t … Continue reading
Almost five years ago I released my first Rubygem, NullDB. It was based on ideas from a couple of other libraries, namely ARBS and UnitRecord. In the README I said: It differs from them in a couple of ways: It … Continue reading
This post started out as the second half of an article on prototype-based OO design for Gregory Brown’s Practicing Ruby. For an introduction to the prototyped view of the object world, and to follow along on an adventure in making … Continue reading
This week’s freebie episode is a brief exploration of what exactly happens when we define a class in Ruby. [http://www.youtube.com/watch?v=p61mk_O4Tw0]
Today’s Monday freebie takes a look at two different methods for redirecting standard out and standard error – one simple and quick, one more comprehensive.