In this episode, I'll demonstrate a few refactoring strategies that I often implement in my own projects. To clean up our
SubscriptionsController, we might leverage form objects, as well as creating a dedicated
Subscription class to manage any interaction with Stripe. In incremental steps, let's review the workflow.
Published on Nov 1st, 2016.