My first Service Objects in Ruby on Rails

I am learning how to keep my controllers clean as they grow while I develop. I am also trying to make my controllers handle only the HHTP-related stuff and move any other logic outside of it to make it read better and optimize it. As I understand it, a Service Object implements all kind of … Continue reading My first Service Objects in Ruby on Rails

Advertisements

Testing Rails Applications

This blog post covers basic concepts of testing Rails applications. After reading this post, you will know: Why we should write tests Testing 'philosophies' Types of tests How to write unit and integration tests for your application. Why do you test it all? The 4 things that we are looking for in tests are: Catching … Continue reading Testing Rails Applications