This episode explores some of the many ways we can come across a nil value, and why that's a problem.
Search results for: episode 108
5 results found.
Episode #483: Extract Default to Method
Some pointers on making your Ruby parameter defaults self-documenting.
Episode #111: Symbol Placeholder
Nobody wants to debug an "undefined method for NilClass" error. Today's episode shows a little trick for making these errors more meaningful.
Episode #139: Timed Queue
Continuing to build our own thread-safe queue class, today we give it the ability to handle time out enqueues and dequeues.
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 …