The Docker project is revolutionizing the way many teams deliver software, by making it possible to package up virtual machines into lightweight, portable containers. But even if your project isn’t …
Tag: featured
Why Ruby doesn’t have a Boolean class
One peculiarity of Ruby that trips up a lot of programmers migrating from other languages is the fact that while it has true and false types, they don’t share a …
Your business rules are objects too
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 …
Elegantly generate data in bulk with Ruby Enumerators and Arrays
Watch Avdi Grimm and James Gray demonstrate the art of concise, expressive Ruby code in two classic RubyTapas videos.
Bust nils with Hash#fetch!
A RubyTapas classic, now free: learn how to use Hash#fetch to catch missing hash keys before they do more damage!
Use “barewords” to embrace the true power of late-binding in Ruby
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.
Make big numbers readable in Ruby
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 …
Use beautiful binary literals in Ruby
Stop trying to remember octal permission codes. Instead use beautiful binary literals in your Ruby code!
Two screencasts, two ways to eradicate Ruby nil values
Learn two ways to avoid switching on nil in Rails apps, in this double feature from RubyTapas and Upcase