A Beginner's Guide to Service Objects for Ruby on Rails

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:Forget fat Models (don’t allow them to become bloated)Keep Views dumb (so don’t put complex logic there)And Controllers skinny (so don’t put too much there)So where should you put anything that’s more than a simple query or action?.
A Beginner's Guide to Service Objects for Ruby on Rails #ruby #rubydeveloper #rubyonrails #guide #service https://rubyonrails.ba/single/a-beginner-s-guide-to-service-objects-for-ruby-on-rails

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles