mastodon

The folder that I hate most in #rails projects is /app/services folder. It is often just a dump for smart asses who like to write classes…

A murb'ed feed, posted about 3 years ago filed in rails.

The folder that I hate most in #rails projects is /app/services folder. It is often just a dump for smart asses who like to write classes with a `perform` or `call` method. Probably they've heard that it is a better pattern than overloading the Model or Controller. Which might very much be an issue, but not if you make such a mess of how you implement services. I prefer fat models and controllers with small methods over ill indirection.

Go to the original link.