This video walks through how to add automated PDF invoice generation into the Rails app for buildermethods.com that handles memberships and workshop payments—specifically solving the common pain point of customers (especially in Europe) asking for custom invoices that include their own VAT and address details. The creator demonstrates building this feature inside Cursor 2.0, leveraging its Composer model and plan mode for spec-driven development, while using Stripe test data to simulate real customers and transactions.
Over the course of the video, the workflow evolves from the manual “Google Docs and email PDF” process into a fully integrated in-app system. The tutorial shows how to let users enter their custom invoice content in their account settings, how to generate invoices dynamically for successful payments, and how to render them as downloadable PDFs using Prawn, a popular Ruby PDF library. The video also highlights Cursor’s planning and building features, including testing iterations, refining layout and styling, and deploying the final update through Hatchbox.
In this video, you’ll see:
Created by Brian Casel (that's me). I'm a career software developer, founder, and creator of Builder Methods and Agent OS, the system for spec-driven development with AI.