Guides to the core and standard libraries, as well as selected Rubygems.
Objects may be cheap in Ruby, but they aren't free. Learn how to diagnose memory usage problems using Ruby's built-in ObjectSpace API, with Ruby and Rails optimization expert Nate Berkopec!
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!
In this episode, guest chef Erin Dees teaches you how to use RSpec tags to test exactly what you need and no more.
Use an obscure feature of Ruby integers to efficiently store large matrices of boolean data.
Have you ever hesitated to re-run tests after making a change, because you don't want to re-run all of your tests? In today's episode, you'll learn how to use RSpec's …
Ruby's backtick operator is great for quick-and-dirty output capture, but what do you use when you need more power?
Learn the nuances of Ruby's Process.wait, Process.wait2, and Process.waitall system calls, and how to choose between them based on your use case.
Don't let your Ruby subprocesses become zombies!
Learn a robust, cross-platform way to throw away unwanted output in Ruby programs.