[LRUG] Rails - The Missing Parts

Matthew Rudy Jacobs matthewrudyjacobs at gmail.com
Mon Mar 3 13:00:27 PST 2014


Totally agree with the approach.
That's exactly how we do it at Cronycle.

Most interactions start out as a single  interactor, but soon enough become
a chain of small interactors.

[FindOrCreateCustomer, CreateSubscription]

Any of which failing ends the chain.

One of the challenges is keeping these well organised. I try to use modules
that group them by a shared theme

eg. Payments::CreateSubscription
On 3 Mar 2014 20:43, "Tom Blomfield" <tomblomfield at gmail.com> wrote:

> Hi all,
>
> I wrote a blog post on Interactors in Rails -
> http://eng.joingrouper.com/blog/2014/03/03/rails-the-missing-parts-interactors
>
> You might enjoy the discussion on HN, with DHH wading in
> https://news.ycombinator.com/item?id=7335211
>
> Tom
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20140303/7d3784c5/attachment-0003.html>


More information about the Chat mailing list