It seems that there is nothing more that you can learn about access modifiers in Ruby. I thought so too. However, I found a few things that are still valuable to learn and may be surprising to you.
Software designer, founder, and tech writer.
I’m Paweł, a software engineer with over a dozen years of experience, tech storyteller and open-source advocate. I write for human beings and computers. I work as CTO at iRonin, where I convert IT headaches into success stories.
Some time ago, I spotted a place for improvement regarding object identification in one of the applications I was working on. To give you the background - the application is a platform for companies, and each company can have its unique flow in the code.
Seemingly it may seem that counting records in the database with ActiveRecord is straightforward. In reality, it looks more complex .
Not yet another article about errors structure