llms.txt
Compare with other sites' llms.txt files →# Build a SaaS App in Ruby on Rails 8
> A 400+ page book by Rob Race that walks you through building a production SaaS application from scratch using Ruby on Rails 8. Covers authentication, Hotwire, Solid Queue, Stripe payments, Action Mailbox, GitHub integrations, webhooks, performance tuning, and deployment. Available as PDF, ePub, and MOBI.
This book builds one Daily Standup application across all 14 chapters. Every chapter adds to the same finished codebase.
Rob's current active Rails SaaS project is CatchHook (https://catchhook.app), a webhook debugging app for inspecting and replaying requests.
- Author: Rob Race (https://robrace.dev)
- Publisher: Succinct Software LLC
- Website: https://buildasaasappinrails.com/
- Permanent price: $49 for the complete Rails 8 book and supporting package
- Availability: Complete and available now
- Formats: PDF, ePub, MOBI
Technologies covered: Ruby on Rails 8, Hotwire (Turbo 8 page morphing, Turbo Frames, Stimulus), Solid Queue, Solid Cache, Solid Cable, ActionCable, Action Mailbox, ActionMailer, Stripe Payments, GitHub OAuth, GitHub API, Webhooks, Rails.event, Kamal 2, Hatchbox, Heroku, PostgreSQL, TailwindCSS, Importmaps, Rails Authentication Generator, Service Objects, Mission Control, YJIT, Pagy.
## Chapters
- [Chapter 1: Ruby on Rails and Your First App](https://buildasaasappinrails.com/): Create a sample app and understand the conventions behind Rails
- [Chapter 2: Testing and You](https://buildasaasappinrails.com/): Why testing matters, different test types, and CI
- [Chapter 3: Starting Your SaaS App](https://buildasaasappinrails.com/): System requirements, Git, Importmaps, Turbo, and TailwindCSS
- [Chapter 4: Users Are Everything](https://buildasaasappinrails.com/): Built-in Rails 8 authentication, friendly URLs, user invites, and account flows
- [Chapter 5: Business Models and Logic](https://buildasaasappinrails.com/): The resources users interact with and how they relate to each other
- [Chapter 6: Service Objects](https://buildasaasappinrails.com/): When there's too much business logic in your controllers
- [Chapter 7: ActiveJob and Solid Queue](https://buildasaasappinrails.com/): Where background tasks fit in, how to create, schedule, and monitor them with Mission Control
- [Chapter 8: Mailers and You](https://buildasaasappinrails.com/): ActionMailer from generation to edge cases, plus receiving and parsing email replies with Action Mailbox
- [Chapter 9: Hotwire](https://buildasaasappinrails.com/): Turbo 8 page morphing, Turbo Frames, Stimulus, and ActionCable/SolidCable for real-time UI
- [Chapter 10: Stripe Payments and Subscriptions](https://buildasaasappinrails.com/): Plans, billing portal, webhooks, plan limits, and safe payment handling
- [Chapter 11: Third-Party Integrations](https://buildasaasappinrails.com/): GitHub OAuth, API access, webhook handling, Rails.event for internal events, and analytics
- [Chapter 12: Speeding Up Rails](https://buildasaasappinrails.com/): N+1 queries, async queries, database indexes, pagination with Pagy, YJIT, and SolidCache
- [Chapter 13: Deploying](https://buildasaasappinrails.com/): Kamal 2 on your own server, Hatchbox, or Heroku
- [Chapter 14: Going Further](https://buildasaasappinrails.com/): Active Record encryption, AR Normalizes, error reporting, deeper Solid Queue patterns, and AI in Rails
## Purchase
- [Build a SaaS App in Ruby on Rails 8 - $49](https://robrace.gumroad.com/l/basair8cp): eBook (PDF/ePub/MOBI), finished application source, per-chapter source code, exercises, cheat sheets, private Slack community, Rails 7 legacy edition, and Rails 8.x updates
- [Free Sample Chapters](https://buildasaasappinrails.com/#sample): Enter your email to receive sample chapters
## Related
- [Rob Race's Blog](https://robrace.dev/blog): Articles on Ruby, Rails, and web development
- [Build a SaaS App in Rails 7](https://buildasaasappinrails.com/7): Previous edition of this book
- [CatchHook](https://catchhook.app): Rob's current active Rails SaaS project for inspecting and replaying webhooks
- [Simple Rails Auth](https://simplerailsauth.com/): Companion resource for Rails 8 authentication
- [Realtime Rails](https://realtimerails.dev/): Learn realtime Rails with Turbo 8, ActionCable, and StimulusJS
## Optional
- [Contact](mailto:rob@succinctsoftwarellc.com): Email the author directly
- [Twitter/X](https://twitter.com/rob__race): Author's social media
- [Succinct Software LLC](https://succinctsoftwarellc.com): Author's company