惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Vercel News
Vercel News
博客园 - 司徒正美
C
Check Point Blog
G
Google Developers Blog
The GitHub Blog
The GitHub Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
有赞技术团队
有赞技术团队
P
Proofpoint News Feed
IT之家
IT之家
B
Blog
博客园_首页
量子位
MongoDB | Blog
MongoDB | Blog
博客园 - Franky
J
Java Code Geeks
H
Help Net Security
A
About on SuperTechFans
Apple Machine Learning Research
Apple Machine Learning Research
Jina AI
Jina AI
D
DataBreaches.Net
Y
Y Combinator Blog
大猫的无限游戏
大猫的无限游戏
云风的 BLOG
云风的 BLOG
Google DeepMind News
Google DeepMind News

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Ruby on Rails End of Life: Rails 6.1 EOL, Rails 7.0 EOL —...
endoflife-ai · 2026-05-30 · via DEV Community
Cover image for Ruby on Rails End of Life: Rails 6.1 EOL, Rails 7.0 EOL — What's Still Supported in 2026

endoflife-ai

The Rails maintenance policy is lean by design: only the most recent minor version of the most recent two major versions receives security patches. Everything else is on its own.

That policy creates a faster EOL cadence than most teams expect. Rails 7.0 felt modern — it shipped with Hotwire, import maps, and CSS bundling. It reached end of life on April 1, 2025.

Here's the current state of the Rails lifecycle.


Rails EOL Schedule

Version End of Life Status
Rails 4.2 Apr 2020 ❌ EOL
Rails 5.2 Jun 2022 ❌ EOL
Rails 6.0 Jun 2023 ❌ EOL
Rails 6.1 Jun 30, 2024 ❌ EOL
Rails 7.0 Apr 1, 2025 ❌ EOL
Rails 7.1 Oct 1, 2026 ⚠️ Security only
Rails 7.2 Aug 1, 2027 ✅ Full support
Rails 8.0 Nov 1, 2027 ✅ Full support

The Compounding Ruby Problem

Rails 6.x applications typically run on Ruby 2.6, 2.7, or 3.0. All three are EOL:

  • Ruby 2.6 — EOL March 2022
  • Ruby 2.7 — EOL March 2023
  • Ruby 3.0 — EOL March 2024

A Rails 6.1 application on Ruby 2.7 has two compounding EOL layers. New CVEs in either the framework or the runtime will never be patched.

EOL Risk Score for Rails 6.1: 82 Critical
View → endoflife.ai/score/rails/6.1


Understanding the Rails Maintenance Policy

The Rails project publishes three maintenance states:

  1. Full maintenance — bug fixes + security fixes (latest two minor versions)
  2. Security maintenance only — security fixes only, no bug fixes
  3. Unsupported — no fixes of any kind

Today:

  • Rails 8.0 — full maintenance
  • Rails 7.2 — full maintenance
  • Rails 7.1 — security maintenance only until October 2026
  • Rails 7.0 and earlier — unsupported

What's New in Rails 8

Rails 8.0 (November 2024) is a significant release focused on reducing external infrastructure dependencies:

  • Solid Cache — database-backed caching (replaces Redis for most use cases)
  • Solid Queue — database-backed background jobs (replaces Sidekiq for most use cases)
  • Solid Cable — database-backed WebSockets
  • Kamal 2 — container-based deployment built in
  • Thruster — HTTP asset caching and compression proxy

Rails 8 requires Ruby 3.2 or later. If you're on Ruby 3.1 or earlier, upgrade Ruby first.


Upgrade Strategy: One Minor Version at a Time

The Rails team's official guidance is to upgrade incrementally:

6.0 → 6.1 → 7.0 → 7.1 → 7.2 → 8.0

Each minor version includes deprecation warnings for APIs removed in the next version. Skipping versions means missing those warnings and hitting breaking changes blind.

Key steps for any Rails upgrade

1. Check your Ruby version first
Rails 7.2 requires Ruby 3.1+. Rails 8 requires Ruby 3.2+. Upgrade Ruby before upgrading Rails.

ruby --version

2. Use the load_defaults incremental approach
After bumping the gem version, update config/application.rb:

config.load_defaults 7.2  # or whatever your target version is

This activates new defaults gradually. Address each failure before moving to the next.

3. Follow the official upgrade guide
Every Rails version has a dedicated upgrade guide documenting every breaking change.

4. Run your test suite on the new version before deploying
Rails CI should be your gate. If it passes on the target version in CI, production follows cleanly.


Rails CVE History: Not Theoretical

Rails has had real, high-severity CVEs over its lifetime:

  • SQL injection through unsafe query parameter handling
  • CSRF vulnerabilities in earlier action controller versions
  • Mass assignment bypass (the Egor Homakov GitHub hack)
  • Regex injection in route handling

The framework's security has improved significantly since the Rails 3/4 era, but CVEs are still disclosed. On an EOL version, those CVEs are never patched.


Check Your Dependencies Too

Your Rails version isn't the only thing with an EOL date. Check:


Full article with EOL Risk Scores for every Rails version: endoflife.ai/article-rails-eol