The New Default. Your hub for building smart, fast, and sustainable AI software
Table of Contents
The most important Ruby on Rails updates of the past two years are Rails 8.0, which lets a team run and deploy an app without Redis, a PaaS or a separate job framework, and Rails 8.1, the current stable line, which adds resumable background jobs, structured event logging and a CI pipeline you can run locally.
Underneath, Ruby 4.0 shipped on December 25, 2025, and YJIT has been on by default since Rails 7.2. Rails is two decades old, yet Shopify and 37signals' HEY ran Rails 8.1 in production for months before its release.
This article covers what changed, which versions are still supported, and which Ruby on Rails development trends should shape your next upgrade or build decision.
Executive Summary
Rails 8.0 (November 2024) and Rails 8.1 (October 2025) push Rails toward fewer moving parts: database-backed queues, caches and WebSockets, plus Kamal for deploying to any server.
For a CTO, that means lower infrastructure cost and less operational overhead, but only if the app runs on a supported version. Rails 8.0 gets security fixes only until November 7, 2026, and the 7.2 series is out of support.
The trends that matter in 2026 are simpler infrastructure, Hotwire for most front ends, free performance gains from YJIT, and AI features built inside the Rails app rather than beside it.
What's New in Ruby on Rails in 2026?
Two releases define current Rails: 8.0 changed how Rails apps are deployed and hosted, and 8.1 improved how they run in production. The 8.1 release alone came from more than 500 contributors and about 2,500 commits, according to the official announcement.
Release | Date | Headline changes |
|---|---|---|
Rails 7.2 | August 2024 | YJIT on by default (Ruby 3.3+), Puma threads cut from 5 to 3, Brakeman, RuboCop and GitHub CI in new apps |
Rails 8.0 | November 7, 2024 | Solid Queue, Solid Cache, Solid Cable, Kamal 2, Thruster, Propshaft as default asset pipeline, authentication generator |
Rails 8.1 | October 22, 2025 | Active Job continuations, structured event reporting, local CI, deprecated associations, registry-free Kamal deploys |
Ruby 4.0 | December 25, 2025 | Experimental ZJIT compiler, experimental Ruby::Box isolation, Ractor improvements |
What Did Rails 8.0 Change for Deployment and Infrastructure?
Rails 8.0 removed the need for several services most Rails apps used to rent separately. Solid Queue, Solid Cache and Solid Cable store jobs, cache entries and WebSocket messages in the database, so many apps no longer need Redis or a separate job framework. Kamal 2 deploys an app to any cloud VM or bare-metal server with one command, including zero-downtime deploys and SSL certificates. Thruster sits in front of Puma and handles asset caching and compression, so you don't need Nginx.
Rails 8.0 also replaced Sprockets with Propshaft as the default asset pipeline and added a generator for session-based authentication. The generator gives you login, logout and password reset; sign-up is still yours to build.
What Does Rails 8.1 Add?
Rails 8.1 targets teams already running Rails in production. Active Job continuations split long jobs into steps that resume where they stopped after a restart, which matters when a deploy gives a job container 30 seconds to shut down. The new Rails.event reporter produces structured, machine-readable events for observability tools instead of human-oriented log lines.
Local CI lets you define the pipeline in config/ci.rb and run it with bin/ci on a developer machine. 37signals reports that HEY's test suite, which took over 10 minutes in cloud CI, now runs in under two and a half minutes on a single desktop. Deprecated associations let you flag a model association and log or raise on every use, which makes cleaning up a large legacy codebase safer.
Which Ruby on Rails and Ruby Versions Are Supported in 2026?
As of October 2026, only Rails 8.1 and 8.0 are supported. According to the Rails maintenance policy, 8.1 gets bug fixes until October 10, 2026 and security fixes until October 10, 2027, while 8.0 gets security fixes only until November 7, 2026. Rails 7.2.4, released on September 24, 2026, was the last 7.2 release.
That timeline has a direct business cost. An unsupported version doesn't get patches for vulnerabilities like the Active Storage flaw fixed in the July 2026 security releases, and each skipped version makes the eventual Rails upgrade bigger. GitHub shows the other end of the spectrum: it moves its Rails monolith to the latest Rails main branch every week and reports that upgrades now take under a week instead of months.
On the Ruby side, Ruby 3.4 and Ruby 4.0 are current, and Rails' main branch is raising its minimum Ruby version to 3.3.5. If your app still runs Ruby 3.1 or older, plan the Ruby upgrade together with the Rails one.
Which Ruby on Rails Development Trends Matter Most in 2026?
Five trends shape how teams build with Rails today: simpler infrastructure, server-rendered front ends with Hotwire, runtime performance from YJIT, AI features built into the app, and stronger security defaults. Each one changes either your hosting bill, your team size or your risk.
Why Are Rails Teams Moving Away From Microservices?
The Rails core team now favors a well-structured monolith on a few servers over a fleet of services. Microservices let you scale and deploy parts of a system independently, but they add network calls, distributed data and a platform team to run it all. For most products, that overhead arrives years before the scaling benefit.
Shopify took the middle path: it split its Rails monolith into enforced internal components rather than separate services. Rails engines support the same modular-monolith approach. Splitting out a service still makes sense when one part of the system has a very different load profile or needs a different runtime. Twitch, for example, moved from its Rails monolith to Go microservices as its traffic and engineering team grew.
Should You Use Hotwire or React With Ruby on Rails?
Hotwire, the default front-end approach since Rails 7.0, covers most business applications: dashboards, admin panels, marketplaces and SaaS products. It sends HTML from the server instead of JSON, so one Rails team can build the whole product without a separate JavaScript codebase. Turbo 8 added page refreshes with morphing, and Hotwire Native wraps the same web screens in iOS and Android apps.
React or Vue still make sense for highly interactive interfaces, such as editors, design tools or offline-first apps, or when a front-end team already owns them. In that case, run Rails in API mode (rails new --api) as a JSON backend that serves web, mobile and third-party clients. The trade-off is two codebases and two sets of skills to hire for.
How Much Faster Is Ruby on Rails With YJIT?
YJIT, Ruby's just-in-time compiler, has been on by default since Rails 7.2 when running Ruby 3.3 or newer, and the Rails 7.2 release notes cite 15–25% latency improvements. Rails 7.2 also cut Puma's default thread count from 5 to 3 to reduce time spent waiting on Ruby's Global VM Lock, and added jemalloc to the default Dockerfile to reduce memory fragmentation.
Ruby 4.0 introduced ZJIT, a new compiler intended to succeed YJIT. The Ruby team says it isn't yet as fast as YJIT and doesn't recommend it for production, so YJIT remains the right choice for now. Most real-world slowness still comes from the database, and Rails tools like strict_loading (which blocks accidental N+1 queries) and load_async (which runs independent queries in parallel) usually pay off sooner than runtime tuning.
How Are Teams Adding AI Features to Ruby on Rails Applications?
Rails teams no longer need a separate Python service to call large language models. Gems like RubyLLM give one Ruby interface to OpenAI, Anthropic, Gemini and other providers, and store chats and messages as ordinary Active Record models. That keeps AI features inside your existing authorization, background jobs and audit trail, which matters in regulated products where you must show who saw which data.
The hard part isn't the API call. It's deciding which workflow AI should change, keeping customer data out of prompts where it doesn't belong, and controlling token costs as usage grows.
What Security Defaults Do Modern Rails Versions Ship With?
Rails has long protected against cross-site scripting, cross-site request forgery and SQL injection by default, as the Rails security guide documents. Recent releases added checks earlier in the workflow: new apps since Rails 7.2 include Brakeman for static security analysis and a GitHub CI workflow, and Rails 8.0 ships an authentication generator built on has_secure_password, so teams don't have to write login code from scratch. Active Record Encryption, available since Rails 7.0, encrypts sensitive columns at the application level.
These defaults only protect you while you keep receiving patches. In 2026 alone, Rails shipped security releases in March and July, so staying on a supported version matters more than any single feature.
When Is Ruby on Rails the Wrong Choice?
Rails is a weak fit when the core of your product is CPU-heavy computation, such as video processing or large-scale numerical work, or when you need very high-concurrency, low-latency services like real-time trading. Languages like Go, Rust or Elixir handle those workloads better, and Rails can still run the business side of the product around them.
Two other constraints are practical. Hiring senior Rails developers can take longer in some markets than hiring for JavaScript or Python, so factor that into your plans. And if your app is several major versions behind, the upgrade is a project in its own right, with gem compatibility, test coverage and deprecations to work through before you see any of the new features.
Key Takeaways
Rails 8.1 is the current stable line; Rails 8.0 gets security fixes only until November 7, 2026.
Solid Queue, Solid Cache, Solid Cable and Kamal let many apps drop Redis and a PaaS.
A modular monolith beats microservices for most Rails products until load or team size forces a split.
Hotwire covers most business apps; choose React or Vue only for highly interactive interfaces.
YJIT gives a free 15–25% latency gain on Ruby 3.3+; ZJIT isn't production-ready yet.
What Does It Take to Stay Current With Ruby on Rails?
Rails in 2026 rewards teams that keep up: the newest versions cut infrastructure, speed up apps for free and make large codebases easier to maintain. Getting there takes a supported Rails and Ruby version, a test suite you trust, and a habit of upgrading in small steps rather than every few years. If you're planning a Rails upgrade, a new Rails product or an assessment of an aging Rails codebase, Monterail's Ruby on Rails team can help you decide what's worth doing first.





