Business Class

A Ruby on Rails starter kit for startup ideas

Overview

Business Class 2.0 - A Ruby on Rails starter kit for your startup ideas

Business Class 2.0 is a Rails 8 starter template designed to remove the headaches of modern application development. It compresses the complexity of modern applications by building on the famous Rails framework.

Key Components:

  • Teams & Subscriptions: Choose between Stripe payment processor or Paddle Billing (Merchant of Record)
  • Powerful scaffolding: Generate team-based CRUD with proper scoping, Action Policy files, bulk actions, admin pages, and tests
  • Developer Experience: Local quick sign-ins, direct uploads, seed data, Continuous Integration with Continuous Delivery
  • Built-in Blogging: SEO-optimized blog with cover images from the start
  • Single-server deployment: Deploy quickly with Kamal configuration

Business Class requires only a domain name and a $5/month virtual private server to get online with just a few commands. It's a one-time payment for unlimited projects.

Josef Strzibny's profile picture

Josef Strzibny

Related Boilerplates

Visit website for Jumpstart Pro

Jumpstart Pro

The best Ruby on Rails SaaS template for building products fast

Ruby
Tailwind CSS
Braintree
Paddle
PayPal
Stripe
Ruby on Rails

Features:

Announcements
API
Auth
Billing
CI/CD
Deployment
i18n
+6 more
Visit website for Bullet Train

Bullet Train

Open Source Ruby on Rails SaaS Framework

Ruby
Tailwind CSS
Stripe
Ruby on Rails

Features:

Access Control
AI
API
Auth
CI/CD
Dark Mode
Deployment
+12 more
Visit website for Lightning Rails

Lightning Rails

Ruby on Rails boilerplate with everything needed to build SaaS, AI tools, or web apps quickly

Ruby
DaisyUI
Tailwind CSS
Stripe
Ruby on Rails

Features:

Admin
AI
Auth
Community
Emails
Legal Pages
Magic Links
+4 more
Visit website for RailsNotes UI Starter Kit

RailsNotes UI Starter Kit

Ruby on Rails template with pre-built authentication, billing, and password reset functionality

Ruby
Railnotes UI
Paddle
Stripe
Ruby on Rails

Features:

Auth
Background Jobs
Deployment
Docs
OAuth
SEO
Subscriptions
+1 more

Frequently Asked Questions

Ruby

What makes Ruby ideal for SaaS development?

Ruby excels in SaaS development due to its robust ecosystem, strong typing capabilities, and excellent library support. Ruby boilerplates leverage language-specific features to provide type-safe database queries, efficient API routing, and optimized runtime performance. The language's maturity means you get battle-tested packages for authentication, payment processing, and background jobs that integrate seamlessly.

Hotwire

What Hotwire-specific architecture patterns are implemented?

Hotwire boilerplates leverage the framework's native architecture patterns including its routing system, middleware pipeline, and controller/handler structure. They implement Hotwire's conventions for separating concerns, dependency injection, and service layer patterns. The codebase follows Hotwire's best practices for organizing models, views/components, and business logic to ensure maintainability as your application grows.

Ruby on Rails

What Ruby on Rails-specific architecture patterns are implemented?

Ruby on Rails boilerplates leverage the framework's native architecture patterns including its routing system, middleware pipeline, and controller/handler structure. They implement Ruby on Rails's conventions for separating concerns, dependency injection, and service layer patterns. The codebase follows Ruby on Rails's best practices for organizing models, views/components, and business logic to ensure maintainability as your application grows.

Tailwind CSS

What Tailwind CSS-specific component architecture is used?

Tailwind CSS boilerplates follow the framework's component composition patterns with reusable, atomic design components. They implement Tailwind CSS's best practices for component structure, props handling, event management, and lifecycle methods. The component library includes authentication flows, dashboards, data tables, forms with validation, and navigation—all built with Tailwind CSS's native features like hooks (React), composition API (Vue), or directives (Angular).

Paddle

What Paddle API features are implemented?

Paddle boilerplates implement the provider's complete API suite including checkout sessions, subscription lifecycle management, customer portal, webhook event handling, and invoice generation. They use Paddle's latest API version with proper error handling, idempotency keys, and retry logic. The integration includes Paddle-specific features like payment intents, setup intents, subscription schedules, and tax calculation APIs.

Stripe

What Stripe API features are implemented?

Stripe boilerplates implement the provider's complete API suite including checkout sessions, subscription lifecycle management, customer portal, webhook event handling, and invoice generation. They use Stripe's latest API version with proper error handling, idempotency keys, and retry logic. The integration includes Stripe-specific features like payment intents, setup intents, subscription schedules, and tax calculation APIs.

Ruby

What Ruby-specific tools and libraries are included?

Ruby boilerplates include the language's most popular and production-proven tools. This typically includes testing frameworks, linters, formatters, build tools, and package managers specific to Ruby. You'll get pre-configured toolchains that enforce best practices, automated testing pipelines, and development environments optimized for Ruby development workflows.

Hotwire

How does Hotwire's ORM/database layer work in these boilerplates?

Hotwire boilerplates use the framework's native ORM or query builder (Prisma, Eloquent, Active Record, SQLAlchemy, etc.) with pre-configured models for users, subscriptions, teams, and common SaaS entities. They include optimized queries, relationships, migrations, seeders, and database connection pooling. The implementation leverages Hotwire's specific features like eager loading, query scopes, and transaction handling for performance.

Ruby on Rails

How does Ruby on Rails's ORM/database layer work in these boilerplates?

Ruby on Rails boilerplates use the framework's native ORM or query builder (Prisma, Eloquent, Active Record, SQLAlchemy, etc.) with pre-configured models for users, subscriptions, teams, and common SaaS entities. They include optimized queries, relationships, migrations, seeders, and database connection pooling. The implementation leverages Ruby on Rails's specific features like eager loading, query scopes, and transaction handling for performance.

Tailwind CSS

How is state management handled in Tailwind CSS boilerplates?

Tailwind CSS boilerplates use the framework's recommended state management approach—whether that's React Context + hooks, Redux Toolkit, Zustand, Pinia (Vue), NgRx (Angular), or Svelte stores. They include pre-configured state slices for authentication, user data, subscriptions, and UI state with proper TypeScript typing. The implementation follows Tailwind CSS's patterns for global state, local component state, and server state synchronization.

Paddle

How are Paddle webhooks handled securely?

Paddle webhooks are verified using the provider's signature validation to prevent spoofing attacks. The boilerplate includes webhook endpoints with proper Paddle signature verification, event type filtering, and idempotent event processing to handle duplicate deliveries. Events are processed asynchronously with retry logic, and the implementation handles Paddle's specific webhook events like subscription updates, payment failures, and customer changes.

Stripe

How are Stripe webhooks handled securely?

Stripe webhooks are verified using the provider's signature validation to prevent spoofing attacks. The boilerplate includes webhook endpoints with proper Stripe signature verification, event type filtering, and idempotent event processing to handle duplicate deliveries. Events are processed asynchronously with retry logic, and the implementation handles Stripe's specific webhook events like subscription updates, payment failures, and customer changes.