Ruby Service Objects

Live coding a utility gem for creating service objects  

https://github.com/brett-richardson/base_service Watch video on YouTube

The Ruby on Rails framework often gets a lot of hate over the years.

Rails makes it easy to get up and running quickly. Unfortunately, its beginner-friendly approach leaves you high and dry months later when you have thousands of lines of code.

Rails applications of this type are often referred to as Rails monoliths.

One of the best ways to refactor and save an aging Rails monolith, is to extract service objects.

In these videos we create a “base service” which allows us to easily build service objects with powerful error handling and chaining capabilities.


comments powered by Disqus