ruby-guides-logo

Unlock the Full Power Of Ruby With RubyGuides 

Are you looking to become an awesome Ruby developer that is happy & proud of his work?

Click the button below now to join the newsletter so I can send you my best content to help you improve your skills!

Fast Lookup & Unique Elements With The Ruby Set Class
A set is a class that can hold items in a similar way that an array does... ...but with some[...]
The Ultimate Guide to HTTP Requests in Ruby
If you'd like to get information from a website, or if you'd like to submit forms, upload files... ...you'll need[...]
The Definitive RSpec Tutorial With Examples
Would you like to learn how to write tests for your Ruby applications using RSpec? Then you're in the right[...]
Everything You Need to Know About Ruby Operators
Ruby has a lot of interesting operators, like the spaceship operator (<=>), the modulo assignment operator (%=), and of course[...]
Ruby’s Powerful Method Arguments & How To Use Them Correctly
I got an email asking for my opinion about when to use keyword arguments. I thought I'd expand my answer[...]
Why Do We Create Classes?
Following my last article, why do we use nil, I thought it'd be a good idea to ask this question[...]
Why Do We Use Nil?
I was having a chat with a friend about a piece of Ruby code & the topic of return values[...]
How To Use The Singleton Pattern In Ruby (And Why You Should Avoid It)
Have you ever wanted to create a class that can only have one instance? No? Me neither. But that's exactly[...]
How To Dramatically Improve Your Ruby Code With Fundamental OOP Principles
A very important topic in object-oriented design is cohesion & coupling. Cohesion is about the relationship between all the methods[...]
How to Use The Strategy Design Pattern in Ruby
Let's talk about the strategy design pattern! This design pattern helps you change the main algorithm inside a method. You[...]
How To Use The Decorator Pattern in Ruby
The decorator design pattern... What is it, and how can you use this pattern in your Ruby projects? The decorator[...]
How To Create A Memory Leak in Ruby
There are a few articles out there about how to find memory leaks. But how about creating one? I think[...]
Profiling Ruby’s Memory Allocation with TCmalloc
Everytime Ruby needs to request memory from the operating system it has to call the malloc function. This function is[...]
The Definitive Guide To Time Complexity For Ruby Developers
Time complexity is one of the most interesting concepts you can learn from computer science, and you don't need a[...]

Super Charge Your Ruby Skills With This Ruby Book

Ruby Deep Dive