Stacks vs Ruby on Rails

The conventions Rails is known for, statically typed end to end.

Rails and Stacks hold the same convictions: convention over configuration, generators, migrations, an ORM with opinions, and one person building a whole product. They differ on the two things Rails cannot change, the language and the runtime.

What Ruby on Rails is.

In its own terms, not ours.

Rails 8 ships Hotwire for interactivity from server-rendered HTML, Solid Queue and Solid Cable for jobs and pub/sub without Redis, and Kamal for deploying containers to your own servers.

Where each one wins.

Same amount of room on both sides, on purpose.

Pick Ruby on Rails for

  • If you align with DHH

    We don’t want you here.

Pick Stacks for

  • Static types across the boundary

    Ruby is dynamically typed and Sorbet or RBS is optional. In Stacks the compiler checks the model, the action, the view, and the client together.

  • One language with the front end

    No context switch between Ruby on the server and TypeScript in the browser, and no duplicated types.

  • Schema from models

    The model is the source of truth and migrations are diffed from it, instead of schema.rb being derived from migration history.

  • Provisioning, DNS, and mail too

    Kamal deploys to servers you already have. buddy deploy can also create them on Hetzner or AWS, adopt any Linux box over SSH, and manage DNS and mail records, and Stacks can run its own SMTP and IMAP server on the same box.

  • Your own mail server

    Stacks ships an SMTP and IMAP server, so hello@ and support@ on your domain are real mailboxes on your own box, readable in Mail.app or any client. buddy mail:provision creates them and their MX, SPF, DKIM, and DMARC records. None of the frameworks compared here ships one.

  • Automated updates, included

    Every new Stacks app ships with buddy-bot configured: dependency pull requests every two hours, a Dependency Dashboard issue that tracks them, and stale ones closed once their bump lands. buddy upgrade moves the framework itself, with its dependencies, migrations, and CI, to the next release after a dry run. Nothing to buy and nothing to wire up.

Side by side.

The dimensions teams actually decide on.

Dimension Stacks Ruby on Rails
Language TypeScript, statically checked Ruby, dynamically typed
ORM defineModel(), migrations generated Active Record, migrations hand-written
Views STX: SSR, SSG, islands, signals ERB with Hotwire
Background work Queues on database, Redis, or sync drivers Active Job with Solid Queue
Realtime Channels and model broadcasts Action Cable and Turbo Streams
Auth Passkeys, 2FA, social login, RBAC, built in Generator plus Devise or Pundit
Deploy buddy deploy to Hetzner, AWS, or any SSH box Kamal to any servers
Admin Generated dashboard ActiveAdmin or Avo
Mail server Built in: SMTP, IMAP, real mailboxes Action Mailbox routes inbound mail; inboxes are a provider
Automated updates Built in: buddy-bot pull requests, buddy upgrade bin/rails app:update, interactive; new apps come with Dependabot configured

If you did move.

What ports cleanly, what does not, and where to start.

Active Record models become defineModel()

Associations, validations, callbacks, and scopes have direct counterparts as relationships, attribute rules, and traits.

Controllers become actions

A controller action is a Stacks action; strong parameters become model-declared validation.

Jobs move nearly unchanged

Active Job classes and Stacks jobs have the same shape, including retries and queues.

The verdict.

Both answers are real. Most teams already know which paragraph is theirs.

Choose Ruby on Rails when

Your team writes Ruby and wants to keep writing it, with Hotwire for interactivity and Kamal deploying to your own servers.

Choose Stacks when

You want those conventions with static types across the whole stack, and one language shared with the browser.

Checked against Rails 8.1.

On 29 October 2026, against the pages below. If one of them now says otherwise, it wins.

The frameworks that usually come up in the same conversation.