Comment on On logic in a Rails app, revisited 6 years laterparentComments−drchiu7yCurrently we're experimenting with namespacing per "ownership" of that namespace.For instance, if the interactor is in charge of onboarding a new account, we have it under something like this:Account::SetupOnboardingNote that we also have an Account model here and so anything namespaced under it will be assumed to take place in that context.
Comments
Currently we're experimenting with namespacing per "ownership" of that namespace.
For instance, if the interactor is in charge of onboarding a new account, we have it under something like this:
Account::SetupOnboarding
Note that we also have an Account model here and so anything namespaced under it will be assumed to take place in that context.