I can now count myself among the 2,000 or so contributors to Ruby on Rails. Pretty elite company—but I got in on a technicality.
When I say I got in on a technicality, I mean that quite literally. The technicality was a typo in a Rails guide. A missing “s”, to be exact.
Visit section 12.2 of the ActiveRecord Querying guide and you’ll see a line that says “Active Record lets you use the names of the associations defined onthe model as a shortcut for specifying JOIN clause when using the joins method.” Emphasis is mine, because that word “clause” is the typo. I added an “s”, which should be reflected shortly.
Of course that’s a trivial change to the code base that is github.com/rails/rails. And yet, because it’s such a significant open-source project, Rails has a whole guide devoted to contributing.
There are a few formalities (a significant one: it’s a good idea to inlude “[ci skip]” in the commit message, so that Rails skips the build for that commit), but the whole process can be completed very quickly. In fact, my pull request was accepted and closed just minutes after submitting, so it only took me 20-30 minutes from start to finish.
Postscript
Apparently Rails is listed on Tip4Commit, which enables donors to sponsor open-source projects, thus granting a tip for merged commits. I didn’t know any of that. But it means I was tipped 0.00015659 Ƀ, the first bitcoins (or fractions thereof) I’ve ever owned—even if it’s only $0.10.