Is Ruby on Rails still relevant? Yes, and for SaaS startups it’s one of the strongest choices in 2026: a small team can build accounts, billing, background jobs, real-time UI and deployment in one codebase, using tools that ship with Rails or are standard in its ecosystem. Rails is actively developed, Rails 8.1 shipped in October 2025 with work from over 500 contributors, and large products such as Shopify, GitHub and GitLab still run on it.
This article is for founders, CTOs and product owners choosing a stack for a new SaaS product, or deciding whether to keep the Rails app they have. It covers what Rails gives a SaaS team on day one (tested in a fresh Rails 8.1 app), where it beats the alternatives, its real weaknesses, and the cases where I’d pick something else.
I ran the examples in a new Rails 8.1.4 app on Ruby 4.0.8 with PostgreSQL 18, Pay 12.4.0 and acts_as_tenant 2.2.2. Billing was tested with Pay’s fake processor, not a real Stripe account.
Is Ruby on Rails dead?
No. The “Rails is dead” posts usually mean Rails is no longer the newest or most-discussed framework, which is true. But relevance for a business is about whether the framework is maintained, secure, hireable and productive, not whether it’s trending.
The evidence, from primary sources:
- Active releases. Rails 8.0 shipped in November 2024 and Rails 8.1 in October 2025, which the Rails team says “represents the work of over 500 contributors across 2500 commits.” As of November 2026 the latest release is 8.1.4.
- Active language. Ruby 4.0 was released on December 25, 2025, with a new experimental JIT compiler (ZJIT) alongside YJIT.
- Large products still built on it. GitHub says GitHub.com has been a Rails monolith from the beginning. Shopify’s core app is a Rails monolith. GitLab’s architecture docs state that “GitLab is a Ruby on rails application”.
None of this proves Rails is right for you. It does show that choosing it isn’t a bet on a dying project.
Why Rails fits SaaS startups
One codebase does the whole product
A typical SaaS product needs the same things every time: sign-in, accounts and teams, subscriptions, emails, background jobs, file uploads, an admin area, real-time updates and a deploy process. Rails covers most of this in the framework, and the rest with gems that have been around for years.
This is what you get from rails new and a few commands, as of Rails 8.1:
| SaaS need | Rails 8.1 answer | Built in? |
|---|---|---|
| Login and sessions | bin/rails generate authentication |
Yes |
| Background jobs | Solid Queue (no Redis needed) | Yes, default |
| Caching and WebSockets | Solid Cache, Solid Cable | Yes, default |
| Real-time UI | Hotwire: Turbo Streams, Stimulus | Yes, default |
| Emails | Action Mailer | Yes |
| File uploads | Active Storage | Yes |
| Deploys | Kamal 2 and Thruster | Yes, default |
| Security checks, CI | Brakeman, bundler-audit, bin/ci |
Yes, default |
| Subscriptions | Pay gem with Stripe, Paddle or Lemon Squeezy | Gem |
| Multi-tenancy | acts_as_tenant gem | Gem |
| AI features | RubyLLM gem | Gem |
In a JavaScript stack you often assemble the same list from separate services and libraries: an auth provider, a job queue with Redis, a WebSocket service, an ORM, a hosting platform. Each one is another bill, another API to learn and another thing to keep in sync. That’s the main reason small Rails teams ship quickly: fewer decisions and fewer moving parts, not faster code.
What day one looks like
The authentication generator gives you a working sign-in system:
bin/rails generate authentication
bin/rails db:migrateIn my test it created User and Session models, sign-in and password-reset controllers and views, a password-reset mailer, an Authentication concern for your controllers, and tests. It doesn’t create a sign-up page, so you add that yourself. For a B2B SaaS that often means an “invite your team” flow anyway.
Billing with Pay is a few lines on your account model:
class Account < ApplicationRecord
pay_customer
has_many :projects
endaccount.set_payment_processor :stripe
account.payment_processor.subscribe(plan: "price_pro_monthly")
account.payment_processor.subscribed? # => true once Stripe confirmsPay stores customers, subscriptions and charges in your database and keeps them in sync through Stripe webhooks, which it processes in background jobs. I tested the flow with Pay’s fake processor: the account subscribed to a “pro” plan and subscribed? returned true. One requirement from Pay’s docs: a job worker must be running in every environment, or webhooks never update your records.
Multi-tenancy without a second app
Most B2B SaaS products are multi-tenant: one app, many customer accounts, and no account may ever see another’s data. With acts_as_tenant, every query on a scoped model is filtered by the current account:
class Project < ApplicationRecord
acts_as_tenant :account
endActsAsTenant.with_tenant(acme) do
Project.all # only Acme's projects
endTurn on require_tenant from day one. Without it, a query that runs when no tenant is set returns every account’s rows. In my test, Project.count outside a tenant returned all 5 projects across both accounts. With this setting it raises ActsAsTenant::Errors::NoTenantSet instead:
# config/initializers/acts_as_tenant.rb
ActsAsTenant.configure do |config|
config.require_tenant = true
endLong jobs that survive deploys
SaaS products import CSVs, sync data from other tools and send bulk emails. Rails 8.1 added Active Job continuations: a long job is split into steps, and if the process restarts during a deploy, the job resumes from its last completed step instead of starting over.
class ImportProjectsJob < ApplicationJob
include ActiveJob::Continuable
def perform(account, names)
step :validate do
raise ArgumentError, "nothing to import" if names.empty?
end
step :import do |step|
names.each_with_index.drop(step.cursor.to_i).each do |name, index|
account.projects.create!(name: name)
step.advance! from: index
end
end
end
endstep.advance! records progress, so a restarted job skips the rows it already imported. I ran this job to completion locally; the resume behavior is as described in the Active Job docs, which I didn’t test with a real restart.
Deploy without a platform bill
Rails 8 generates a Kamal config and a production Dockerfile, so you can deploy to any Linux server or cloud VM. The Rails team’s stated goal for Rails 8 is that “nobody should have to pay orders of magnitude more for basic computing just to make deployment friendly and usable.” Platforms like Heroku still work well if you’d rather not manage servers.
AI features fit in naturally
Most new SaaS products need some AI: summaries, search over customer data, assistants. In Rails these are API calls plus the same jobs, records and Turbo Streams you already use. My guide to Ruby on Rails AI integration walks through a complete example.
Rails vs the alternatives for SaaS
Every option below can build a successful SaaS. The differences are in how much you assemble yourself and who you can hire.
| Stack | Strengths for SaaS | Trade-offs |
|---|---|---|
| Ruby on Rails | Most built in; one codebase for UI and backend; mature conventions | Smaller hiring pool than JS/Python; Ruby is slower on CPU-heavy work |
| Laravel (PHP) | Very similar “batteries included” approach; large community | PHP hosting and tooling; similar trade-offs to Rails |
| Django (Python) | Python ecosystem for data and ML; good admin | Fewer built-in pieces for real-time UI and jobs |
| Node.js / Next.js | One language front and back; huge hiring pool | More assembly: auth, jobs, ORM, and hosting are separate choices |
If your team already knows one of these well, that usually matters more than the table. Familiarity beats features for an early-stage product.
The honest trade-offs
Rails isn’t the right answer for everything. These are the real costs:
- Hiring. There are fewer Rails developers than JavaScript or Python developers. In my experience the ones you find are often senior and used to owning whole features, but the pool is smaller, and juniors with Rails experience are harder to find.
- CPU-heavy work. Ruby is slower than Go, Rust or Java for raw computation. YJIT, on by default in Rails 8.1 production, narrows the gap, and most SaaS time is spent in the database anyway, but heavy data processing may belong in a separate service.
- Machine learning. Training models and data science live in Python. Calling AI APIs is easy from Ruby; building your own models isn’t where Ruby shines.
- Frontend-heavy products. A design tool or spreadsheet-style editor needs a lot of client-side code. Rails works well with React through Inertia.js, but you’ll write a lot of JavaScript either way.
- Memory. Rails processes use more memory than a small Go service, which affects hosting costs at scale. Scaling a Rails app is well understood, but it does take deliberate work.
When I’d pick something else
I recommend Rails for most B2B SaaS products, internal tools, marketplaces and content-heavy apps. I’d choose differently when:
- The core product is ML or data processing, where Python is the better fit for the main service.
- The team is already strong in another framework and has no Rails experience. Retraining costs more than any framework advantage.
- The product is mostly a rich client-side app with a thin API, where a TypeScript stack keeps everyone in one language.
- You need very low latency or high CPU throughput per request, such as real-time bidding or video processing.
Even then, Rails often still runs the “business” side: accounts, billing and admin, next to a specialized service. That combination is common and works well.
If you’re weighing these trade-offs for a specific product, a short architecture review before the first line of code is cheaper than a rewrite later. It’s part of how I start SaaS MVP projects.
Two natural next reads: Ruby on Rails MVP development and when to hire a Ruby on Rails developer.
Conclusion
Ruby on Rails is still relevant, and for SaaS startups it’s often the most productive choice: Rails 8.1 ships with authentication, jobs, caching, real-time UI, deployment and CI, and gems like Pay, acts_as_tenant and RubyLLM cover billing, multi-tenancy and AI. Its weaknesses, a smaller hiring pool and slower CPU-bound code, are real but rarely decisive for a SaaS product. Pick it when you want a small team to ship a complete product quickly, and plan for the trade-offs from the start.
I build SaaS MVPs on Rails, from the first sign-in and Stripe subscription to deployment, and I help teams decide whether their existing Rails app should be kept, upgraded or extended. If you’re choosing a stack or planning an MVP, send me a short brief and book a discovery call.
Frequently asked questions
Is Ruby on Rails still used in 2026?
Yes. GitHub, Shopify and GitLab all run large Rails applications. The framework had major releases in November 2024 (Rails 8.0) and October 2025 (Rails 8.1), and Ruby 4.0 came out in December 2025.
Is Ruby on Rails good for startups?
For most web-based SaaS startups, yes. Rails includes most of what a product needs on day one, so a small team spends its time on features instead of wiring services together. It’s a weaker fit when the core product is machine learning or heavy computation.
Ruby on Rails vs Node.js: which is better for SaaS?
Rails gives you more out of the box: authentication, jobs, ORM, real-time UI and deployment all follow one set of conventions. Node.js gives you one language across front and back end and a larger hiring pool, but you choose and connect more pieces yourself. Both work; Rails usually gets a small team to a complete product faster.
Ruby on Rails vs Django: which should I choose?
They’re similar “batteries included” frameworks. Choose Django if your product depends on Python’s data or ML libraries, or your team knows Python. Choose Rails if you want stronger built-in tools for background jobs, real-time UI and deployment, which are all part of Rails 8.
Is Ruby on Rails worth learning in 2026?
For developers who want to build complete web products, yes. Rails teaches strong conventions for databases, testing and app structure, and Rails developers are often hired to own whole features end to end. The job market is smaller than for JavaScript, so it pairs well with JavaScript skills.
Is there a good Ruby on Rails SaaS boilerplate?
There are several commercial and open-source Rails SaaS starters that bundle authentication, billing and teams. They save time, but you inherit every decision they made. For many teams, a fresh Rails 8 app with the authentication generator, Pay and acts_as_tenant is a lighter starting point you fully understand.


