loading

  • Home
  • Blog
  • Rails 8.0 Security Support Has Ended: A Practical Rails Upgrade Checklist for 2026
Rails 8 upgrade checklist 2026 – Wrexim Infotech
30Nov

If your product runs on Ruby on Rails 7.x or 8.0, it no longer receives official security patches. The Rails core team’s maintenance policy shows Rails 8.0 security fixes ended on 7 November 2026, and the 7.0, 7.1 and 7.2 series are no longer on the supported list at all. The only series still covered is Rails 8.1, with security fixes until 10 October 2027 (Rails maintenance policy).

That makes a Rails upgrade a security task, not a nice-to-have. This checklist is the process our Ruby on Rails team at Wrexim Infotech follows when we move production apps forward, including a recent upgrade of a US printing-automation platform from Rails 7 to Rails 8 and from MySQL 5.7 to MySQL 8.0.

Why upgrade now

  • Security: unsupported Rails versions get no patches when a new vulnerability is published. Under the official policy, dealing with bugs and security issues on an unsupported series is your own responsibility.
  • Database support has moved on too: MySQL 5.7 community support ended in October 2023, and MySQL 8.0 reached end of life in April 2026. Oracle recommends moving to MySQL 8.4 LTS.
  • Every skipped version makes the next jump harder. Gems drop support for old Rails and Ruby versions, and deprecation warnings pile up.
  • Rails 8 removes infrastructure. Solid Queue, Solid Cache and Solid Cable are database-backed, so many apps can drop Redis once they are on Rails 8.

Step 1: Audit before touching the Gemfile

  • Record current Ruby, Rails and database versions, plus every gem and its version.
  • Check test coverage on the critical paths: sign-up, login, payments, background jobs and admin tools. If coverage is thin, write tests for these flows first.
  • Turn on deprecation warnings in development and test, and log every warning your test suite produces. That list is your real upgrade backlog.
  • Find gems with no Rails 8 support and decide whether to update, replace or remove each one.

Step 2: Upgrade Ruby first, separately

The official Rails upgrade guide advises upgrading Ruby and Rails separately, Ruby first. Rails 8.0 and 8.1 require Ruby 3.2.0 or newer. Ship the Ruby upgrade to production on its own, with the test suite green, before you change the Rails version. If something breaks, you know which change caused it.

Step 3: Move one minor version at a time

Go 7.0 → 7.1 → 7.2 → 8.0 → 8.1 rather than jumping straight to the latest. At each step:

  1. Bump the Rails version in the Gemfile and run bin/rails app:update to review configuration changes.
  2. Keep the old framework defaults at first, then switch on the new defaults one by one using the generated new_framework_defaults file.
  3. Fix deprecations, run the full test suite, deploy to staging, then production.

Step 4: Watch for the changes that break Rails 7 apps

  • Enum syntax: Rails 8 removes the old keyword-argument enum syntax, which is one of the most common failures in older codebases.
  • Asset pipeline: new Rails 8 apps default to Propshaft instead of Sprockets. Existing apps can keep Sprockets by keeping sprockets-rails in the Gemfile and migrating later.
  • Background jobs and caching: you do not have to adopt Solid Queue or Solid Cache during the upgrade. Treat them as a separate project once the app is stable on Rails 8.
  • Authentication: Rails 8 ships an authentication generator, but apps already using Devise can keep it.

Step 5: Plan the database upgrade on its own

If you are still on MySQL 5.7, note that a direct jump to 8.4 is not supported; go 5.7 → 8.0 → 8.4. Our checklist for that move:

  • Run MySQL’s upgrade checker against a copy of production data.
  • Check reserved words, default character set and collation (utf8mb4), and authentication plugin changes that can break older database drivers.
  • Upgrade the mysql2 gem and test every raw SQL query and report.
  • Rehearse on staging with real data volumes and time the migration, then schedule a low-traffic window with a tested rollback plan. A MySQL downgrade is not supported, so the backup is your rollback.

Step 6: Release safely

  • Deploy to staging and run manual smoke tests on the critical flows.
  • Release during low traffic, with error monitoring (Sentry, Honeybadger, AppSignal or similar) watched closely for 48 hours.
  • Keep the previous release and a database backup ready for rollback.

How long does a Rails upgrade take?

It depends on the size of the app, the number of gems, test coverage and how many versions you are behind. A well-tested app one version behind can move in days; an app several versions behind with little test coverage needs an audit first, then weeks of staged work. The audit in Step 1 gives you a realistic estimate before you commit.

Need help upgrading your Rails app?

Wrexim Infotech is a product engineering company in Indore, India, with a Ruby on Rails team that has maintained and upgraded production Rails applications for clients in the US and Europe since 2018. We can audit your app, give you an upgrade plan with a fixed scope, and carry out the upgrade without stopping your feature work.

Contact us for a Rails upgrade assessment →

Posted in:
Warning: array_filter() expects parameter 1 to be array, string given in /home/wreximinfotech/public_html/wp-includes/kses.php on line 1548
Technology

Leave a Reply

Your email address will not be published. Required fields are marked *