Have you ever struggled to place a method that seems like it belongs equally well in either of two different classes? In this screencast you'll learn an approach to resolve …
Watch Avdi Grimm and James Gray demonstrate the art of concise, expressive Ruby code in two classic RubyTapas videos.
A RubyTapas classic, now free: learn how to use Hash#fetch to catch missing hash keys before they do more damage!
In the most fan-favorite RubyTapas episode of all time, you'll learn how using "barewords" is a powerful tool for decoupling names from the sources of information.
Quick! How many zeroes are in 1000000000000000? Large literal numbers may be a cinch for the computer to read, but they aren't very friendly to human eyes. Take 45 seconds …
Stop trying to remember octal permission codes. Instead use beautiful binary literals in your Ruby code!
If you've done much Rails coding, you've probably heard the guideline: “skinny controller, fat model”. But achieving this can be easier said than done. Especially when your controllers are bloated with …
Learn to deeply understand and effectively apply RSpec's advanced matcher DSL.
Learn two ways to avoid switching on nil in Rails apps, in this double feature from RubyTapas and Upcase
When refactoring Ruby code, getting a fresh perspective on the data model can help drive out a cleaner design.