In today's episode, we encounter a starship in trouble, and a software pattern that helps cleanly disable whole categories of behavior.
We all use 'puts' for debugging at some point. This episode shows why 'p' is a better choice.
In this episode we take a look at the Special Case pattern, and see how it can be used to drastically simplify some typical logic around logged-in and anonymous users.
Nobody wants to debug an "undefined method for NilClass" error. Today's episode shows a little trick for making these errors more meaningful.
A refactoring episode, showing how to replace exceptions-as-flow-control with the "catch" and "throw" methods.
This episode takes a look at how to use the Nokogiri gem to extract data from large HTML documents without reading the whole document into memory.
This episode explores some of the many ways we can come across a nil value, and why that's a problem.
In today's episode, we learn a wonderfully convenient way to substitute text.
Today, some thoughts on writing class-level attribute accessors.