A RubyTapas classic, now free: learn how to use Hash#fetch to catch missing hash keys before they do more damage!
Part 2/2 of a play-by-play of a recent Ruby data-munging coding session. More fun with regexes, lazy enumerators, and more!
Check out this play-by-play of a recent Ruby data-munging coding session, with commentary on live/fast feedback, lazy enumerators, and more!
Learn about a useful tool for generating realistic-but-fake data for examples and tests.
Understand when and how to use Ruby's array combination methods.
Grouping data by various properties is easy in Ruby, and there are more uses for it than you might think...
Quick, easy, minimal immutable Value Objects in Ruby
Intention-revealing array combinations in Ruby.
How to reliably normalize inputs into arrays in Ruby
Today we learn about why it pays to be judicious in application of the Ruby "safe navigation" operator.