Today's episode demonstrates a technique for speeding up the process of sorting some collections.
Month: February 2014

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 #178: Identity Map
In the last episode we looked at the problem of "aliasing", here there are multiple objects representing a single row in a database. Today, we'll look at one possible solution …

Episode #177: Aliasing
Today we look at a perncious problem that sometimes plagues code which uses an Object-Relational Mapper (ORM). Documentation of the ActiveRecord inverse_of option mentioned in the episode can be found …

Episode #176: Dotenv
In this episode we look at a tool that I've found invaluable for managing configuration in my applications.

Episode #175: REPL-Driven Development
In today's episode I cover a classic development technique that doesn't get enough press these days. Interactive, exploratory development was and is common in the Lisp world, and Ruby's dynamic …

Episode #174: Multiple Assignment
Today's special is a note on style with a side order of opinion. Enjoy! (Note: I made a mistake in the visualization of which variables correspond to which on either …