The Best Ruby Tutorials!


While you are here you should pick up my FREE 'Become a Better Ruby Developer' guide
which contains free resources & actionable tips you can start using right now.

Just drop your email below and I will send it to you :)

Latest Articles

ruby standard library

5 Useful Examples From The Ruby Standard Library

The Ruby Standard Library is a series of modules & classes that come with Ruby but are not part of the language itself. These classes offer a variety of utilities like Base64 encoding, prime number generation & DNS resolution. In this article I’m going to show you 5 of these classes with useful examples. Unique […]

weighted random numbers in ruby

How to Generate Weighted Random Numbers

Random numbers usually follow what we call a ‘uniform distribution’, meaning that there is the same chance that any of the numbers is picked. But if you want some numbers to be picked more often than others you will need a different strategy: a weighted random number generator. Some practical applications include: the loot table […]

metaprogramming ruby

Metaprogramming in The Wild

You may have read about metaprogramming before & maybe you have used it in some of your projects, but how are some of the most popular open-source projects making use of this feature? Find out in this post! Rails Example Rails makes heavy use of metaprogramming, so it’s a good place to start looking. For […]

twitter api

Learn to Use the Twitter API with Ruby

Do you want to learn how to write a Twitter application using Ruby? Then you are in the right place! In this post I will teach you, step-by-step, how to create a program that can interact with the Twitter API and do things like looking for certain keywords or send automated replies. Let’s get started! […]

ruby enumerable each_cons

My New Favorite Enumerable Method

Enumerable is an amazing module, and it’s a big part of what makes Ruby such a great programming language. Enumerable gives you all sorts of cool methods like map, select and inject. But my new favorite is each_cons. This method is really useful, you can use it to find n-grams or to check if a […]