Today's episode covers an incredibly handy capability of Ruby's hashes that I didn't know about until recently.
Category: Episodes
Episode #169: Caching Gateway
You might remember the Gateway and Mapper patterns from recent episodes. Today we'll look at how to insert a caching layer between those two patterns. In the process, we'll examine …
Episode #168: Enumerable Internals
In this very special episode, guest chef Pat Shaughnessy takes us on a whirlwind tour of the Ruby internals that make the Enumerable#all? method tick.
Episode #167: Debugging in Gems
When debugging a tricky problem, don't you sometimes wish you could just drop a line of debugging code right in the middle of a third-party gem? This episode shows how …
Episode #166: Not Implemented
Ruby doesn't have a built-in concept of "abstract" classes, but sometimes we want a way to show other programmers when methods are left as an exercise for the implementor. This …
Episode #165: Refactor Tapas::Queue
In previous episodes, we got the Tapas::Queue class under test, using a couple of different thread-testing techniques. Now that it has tests, it's time to refactor. The steps of this …
Episode #164: Mapper
Today we explore a pattern for bridging the gap between different domain models.
Episode #163: YAML::Store
Today we follow up on the last episode to talk about YAML::Store. It's like PStore, only with YAML!
Episode #162: PStore
In today's episode we take a look at PStore, a simple but capable persistence mechanism that ships with Ruby.