Hi! I'm Avdi Grimm, and this is my software development blog. More...
Books and Screencasts
Category Archives: Ruby
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.
There are a couple of libraries which I usually include in my Gemfiles because they make Guard more awesome on Ubuntu. However, they don’t make sense to require on other platforms, and they probably don’t even compile when not on … Continue reading
In today’s free Monday episode of RubyTapas, some thoughts on how to enable method logic to remain stable and unchanged while evolving and changing the source and scope of the values used by the logic.