Ruby's attr_accessor, attr_reader and attr_writer

A Ruby object has its methods public by default, but its data is private. So if you need to access the data, for either reading or writing, you need to make it public somehow.

Is Ruby pass-by-reference or pass-by-value?

As you learn your way through Ruby's OOP, you will eventually stumble upon the concept of object passing. It might not be very clear if Ruby uses pass-by-reference or pass-by-value to send objects ...

Object-Oriented Programming (OOP) with Ruby

Learn about Object-Oriented Programming (OOP) with Ruby, and become a better Ruby developer.

Is Your Rails Team Slowing Down? Here's Why, And What You Can Do About It

With every day that goes by, your development team seems to be moving slower, and slower, and slower. You feel like you're drowning in a sea of feature requests, making it harder and harder to see ...

Feature Tests vs. Integration Tests vs. Unit Tests

Why are there so many different types of tests in Ruby on Rails and how are they different from one another?

How To Remove Argument Order Dependency In Ruby

Removing dependencies leads to code that is easier to extend. In this article you're going to learn about removing argument order dependencies.

How To Avoid The Ruby Class Variable Problem

The way Ruby resolves class variables is not very intuitive and in my opinion, it's one of the few areas where it breaks the principle of least surprise.