A simple explanation of Service Objects for Ruby on Rails

A simple explanation of Service Objects for Ruby on Rails

6 years ago
Anonymous $hM_jrxqbr-

https://medium.freecodecamp.org/service-objects-explained-simply-for-ruby-on-rails-5-a8cc42a5441f

Rails follows a Model-View-Controller pattern. This raises questions around where programming logic should go once a Ruby on Rails application reaches a certain size. Generally, the principles are:

So where should you put anything that’s more than a simple query or action?

A simple explanation of Service Objects for Ruby on Rails

Jul 23, 2018, 3:21am UTC
https://medium.freecodecamp.org/service-objects-explained-simply-for-ruby-on-rails-5-a8cc42a5441f > Rails follows a Model-View-Controller pattern. This raises questions around where programming logic should go once a Ruby on Rails application reaches a certain size. Generally, the principles are: > So where should you put anything that’s more than a simple query or action?