Rails ships with a very powerful tool which is ActiveRecord. It provides access to database, maps records, handles relations, keeps business logic and more. Isn't it a bit too much? Let's try to refactor it!
Some things you do as a developer can work for you for years, then turn around and bite you when you were least expecting. These are the things that you wish another developer had told you early in your career so you never had to make the mistakes. This post is about one of those things and if you’re reading this, consider it me telling you.