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.
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 ...
Learn about Object-Oriented Programming (OOP) with Ruby, and become a better Ruby developer.
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 ...
Why are there so many different types of tests in Ruby on Rails and how are they different from one another?
Removing dependencies leads to code that is easier to extend. In this article you're going to learn about removing argument order dependencies.
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.