Hi! I'm Avdi Grimm, and this is my software development blog. More...
Books and Screencasts
Small plates of gourmet Ruby code.
32 Patterns for joyful coding.
The Making of Cowsays.com
Watch me build an app in Sinatra and Rails
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.
- Emacs Reboot
- RubyTapas Samples
- Smalltalk Best Practice Patterns
- Study Notes
- Stuff Worth Buying
- Stupid Ruby Tricks
Category Archives: Ruby
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.
Sticking a rescue at the end of a line may seem expedient, but it has a tendency to bite you when you least expect it. In today’s freebie episode, I demonstrate how dangerous an inline rescue can be, as well … Continue reading
Today’s free Monday episode features a rare delving into Rails code. We take a look at a fat controller, and thin it down by identifying the model lifecycle events that are hiding inside it. This episode garnered a lot of … Continue reading
A new video on Command-Query Separation, and a chance to lock-in a special discounted rate! Continue reading
Sometimes one instance is all you need.
Today’s free Monday episode of RubyTapas concerns how to reliably discover a user’s home directory.
In today’s free Monday episode, a look into how Ruby constructs new objects, and how we can customize constructors for special scenarios.