In today's episode we take a look at a storied problem in software: defects caused by accidentally mixing-up the units of measurement used in calculations. And we kick off a …
Tag: data
Episode #191: Virtual Proxy
When loading domain objects from an external service, it can be expensive to load up associated objects with them. Today's episode takes a look at a pattern for transparently lazy-loading …
Episode #181: Schwartzian Transform
Today's episode demonstrates a technique for speeding up the process of sorting some collections.
Episode #180: Ghost Load
In today's episode we learn at how to implement lazy loading using the "ghost object" pattern.
Episode #179: Sequel
ActiveRecord has become practically synonymous with SQL database access in Ruby, but it's not the only way to talk to SQL stores. Today we'll explore Sequel, a wonderfully rich tool …
Episode #170: Hash Merge
Today's episode covers an incredibly handy capability of Ruby's hashes that I didn't know about until recently.
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.