Today we look at the humble String#gsub method, and learn that it has some surprising tricks up its sleeve.
Category: Freebies
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 …
Episode #161: Thread Local Variable
Today's episode introduces the concept of thread-local variables, and shows how they can be put to use in an ActiveRecord-like library.
Episode #135: Rake Multitask
In this, the final (for now) episode of the Rake miniseries, we take a look at how to speed up Rake runs by taking advantage of multiple cores.
Episode #134: Rake Clean
My children know they are supposed to clean their place at the table after dinner. Sometimes software builds need to be cleaned up too, and today we'll learn about an …
Episode #133: Rake File Operations
Rake has a lot of tricks up its sleeve. In this episode we'll look at some of the helpers it provides for performing various common operations on files.
Episode #132: Rake Pathmap
Today's dish is a real delicacy... we're going to dig into one of Rake's most powerful but little-known capabilities and see how we can easily transform collections of path names …
Episode #131: Rake Rules
In this episode we learn how to write advanced Rake rules which programatically determine the appropriate prerequisites for a given target file.
Episode #130: Rake File lists
As we continue our series on Rake, today we look at the Rake::FileList and how it can help us find the files we need and ignore the ones we don't.