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
Tag Archives: ruby
RubyTapas Freebie: The End of Mocking
At the borders of our systems, mockist testing hits a point of diminishing returns. In this free episode we take a look at when to stop mocking and start integration testing.
Posted in Ruby, RubyTapas Samples, Screencasts
Tagged mock-objects, mocking, mockobjects, ruby, tdd, testing
Leave a comment
RubyTapas Freebie: Utility Function
Some functions are useful in many different contexts. In this free episode we’ll explore some ways to make them available both to library code and to client code of a library.
RubyTapas Freebie: Scanning a String
Posted in Ruby, RubyTapas Samples, Screencasts
Tagged ruby, rubytapas, searching, strings
4 Comments
Modeling the World with Prototypes
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
RubyTapas 029 – Redirecting Output
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.
RubyTapas 022: Inline Rescue
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
Conditionally Bundling Gems Based on Platform
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
Code to Joy
Video of my GoGaRuCo 2012 talk, “Code to Joy”, is now online thanks to the good folks at Confreaks. This talk is a random walk through some lesser-known parts of Ruby that make me happy. Speaking for myself, it was … Continue reading
RubyTapas Episode 1: Binary Literals
It’s been well over a year since I announced this project, but today I’m proud to finally be launching RubyTapas, my subscription screencast service! RubyTapas is all about small plates of gourmet code: brief, focused screencasts on Ruby techniques, idioms, … Continue reading
Posted in Announcements, RubyTapas Samples, Screencasts, Videos
Tagged binary, literals, ruby, rubytapas
7 Comments




