6 ms·
I'm starting to use service objects, which are responsible for coordinating things when multiple models are required to perform an operation, or complex busines
by JonWood 15y ago
I'm starting to use service objects, which are responsible for coordinating things when multiple models are required to perform an operation, or complex business logic is involved.
James Golick has a great blog post on that approach at http://jamesgolick.com/2010/3/14/crazy-heretical-and-awesome-the-way-i-write-rails-apps.html http://jamesgolick.com/2010/3/14/crazy-heretical-and-awesome...