Aider AI-native SME FounderExtract a reusable service class from tangled controller code
Using aider's git-backed multi-file editing, business logic scattered across three controller files is extracted into a clean service class, existing tests are updated to call the service directly, and each change is committed with a meaningful message.
The refactor is done in a single aider session with a clean git history — reviewable commit by commit — and no test regressions.
Run `aider app/controllers/order_controller.rb app/controllers/invoice_controller.rb`: "Extract order fulfilment logic into a new OrderFulfilmentService class. Update tests. Commit each logical step separately."