Single Responsibility
Previously I blogged about the 5 SOLID Design Princinples. Now I will break them down independently starting with Single Responsibility. Most of the information and examples in this post are from Chapter 2 of Practical Objected Oriented Design in Ruby (aka POODR) by Sandi Metz. I…
5 SOLID Design Principles
In my journey to become a better developer I’m currently concentrating my efforts on design patterns and principles. I came across this video by Sandi Metz on how the 5 SOLID design principles apply to Ruby. SOLID is about managing the dependencies in your application. …
Rails Active Record Associations
Associations between database tables is incredibly important. I’ve been working on a volunteer tracking app for nonprofits that has several tables and many associations. I found out the hard way why you should always choose the has_many through association instead of the has_and_belongs_to_many_association (habtm). I…