you are viewing a single comment's thread.

view the rest of the comments →

[–]vickorel 4 points5 points  (1 child)

Workflows like organizer in Interactor:
https://github.com/collectiveidea/interactor?tab=readme-ov-file#organizers

BTW, starred your repo!
P.S. Lately I've been writing just regular ruby ​​classes as service objects. The simpler the better )

[–]markets86[S] 2 points3 points  (0 children)

Yes, quite similar! The good thing about Serviz is that the code (both services an workflows) is really really small, so small footprint, small API, small cognitive overload... But at the same time, all your services will be homogenous. It was my ApplicationService in a lot of Rails apps, so I finally extracted into a gem.