Rails Service Objects
There’s lots of options for service objects to house business logic outside controllers (because bloat) and models (because of cross-model concerns).
- This post on contexts applies a concept from Phoenix
- This post presenting Operators as a lightweight PORO solution seems pretty reasonable. (It was written in response to the previous)