101 System requirements

Compatibility requirements for Rails LTS include supported Rails, Ruby, Bundler, and database versions before upgrading an existing application.

102 Installing Rails LTS

Rails LTS installation varies by Rails version; separate guides exist for 2.3, 3.2, 4.2, 5.2, 6.1, and 7.2, plus update instructions for existing installs.

103 Installing Rails 2.3 LTS with Bundler

Rails 2.3 apps can switch to Rails 2.3 LTS for maintained patches and optional security hardening, with Bundler-based installation and legacy dependency adjustments.

103 Installing Rails 2.3 LTS without Bundler

Rails 2.3 LTS installation without Bundler for legacy apps, including gem replacement, version pinning, and optional security changes.

103 Installing Rails 3.2 LTS

Replace official Rails 3.2 gems with Rails 3.2 LTS to keep legacy applications maintainable, with subscription credentials, Bundler compatibility, and optional security hardening.

103 Installing Rails 4.2 LTS

Rails 4.2 applications can be moved to Rails 4.2 LTS by swapping gems and configuring private package access for continued patches and optional security hardening.

103 Installing Rails 5.2 LTS

Swap the official Rails 5.2 gems for Rails 5.2 LTS to keep an older app receiving patched releases, using private gem server credentials and Bundler configuration.

103 Installing Rails 6.1 LTS

Swap the official Rails 6.1 gems for Rails 6.1 LTS by updating Bundler credentials and gem source, then verify compatibility and deploy normally.

103 Installing Rails 7.2 LTS

Switching a Rails 7.2 app to Rails LTS replaces official gems with a maintained subscription build, keeping compatibility with the latest Rails 7.2 release.

104 Enabling additional security features in Rails LTS

Rails LTS offers optional hardening for older Rails apps, reducing XSS, parameter parsing, cache poisoning, and query ambiguity risks through configurable security defaults.

104 Updating Rails LTS to a newer version

Updating a Rails LTS app to a newer gem version can require bundle update rails and a cleanup of legacy version pinning in config/environment.rb.

105 How to find out your current Rails LTS version

Find the installed Rails LTS release by checking the gem path or RailsLts::VERSION; older installs may need gem list or rails runner.

106 RubyGems 2.x support for Rails 2.3 LTS

Rails 2.3 LTS can run with RubyGems 2+ when Bundler is used, but gem declarations, gem unpacking, and local generator lookup are restricted.

107 Subscribe to the LTS mailing list

Customers can receive notifications about security vulnerabilities and new Rails LTS releases by subscribing to a mailing list during order or manually.

110 Known issue: HTTP 403 error in "bundle install --verbose" output

Bundler 1.12+ may print HTTP 403 Forbidden for the compact gem index, but Rails LTS still installs correctly after falling back to the old index.

201 Changelogs

Choose the changelog for a specific Ruby on Rails version, including the LTS releases from 2.3 through 7.2.

202 Rails 2.3 LTS Changelog

Rails 2.3 LTS and bundled Rack releases backport many security fixes, compatibility updates, and regressions for legacy applications on older Ruby versions.

204 Rails 3.2 LTS Changelog

Security and compatibility updates for Rails 3.2 LTS and Rack 1.4, including backported CVEs, XSS and RCE fixes, multipart hardening, and Ruby 4.0 support.

205 Rails 4.2 LTS Changelog

Rails 4.2 LTS and bundled Rack receive ongoing security backports, compatibility fixes, and hardening for newer Ruby versions, caches, multipart handling, and response headers.

206 Rails 5.2 LTS Changelog

Rails 5.2 LTS receives ongoing security backports for Rack, Active Storage, Action Pack, and other components, including CVE fixes, Ruby compatibility, and cache-hardening options.

207 Rails 6.1 LTS Changelog

Rails 6.1 LTS maintenance releases backport security fixes for Rack, Active Storage, Action Pack, and Action View, plus Ruby compatibility updates and vulnerability hardening.

208 Rails 7.2 Changelog

Rails 7.2 LTS security updates and bug fixes for Active Storage, Action Pack, and Action View, plus Ruby and Rack compatibility changes.

209 List of CVEs addressed by Rails LTS

Rails LTS CVE inventory tracks security fixes and unaffected versions across 2.3, 3.2, 4.2, 5.2, and 6.1 branches, including Rack-related patches and monkey-patches.

210 Fixing 'uninitialized constant / undefined class/module ActionDispatch::Http::ParamsHashWithIndifferentAccess' when migrating away from Rails LTS

Serialized params from Rails LTS can fail to load after upgrading, with missing constant errors for ActionDispatch::Http::ParamsHashWithIndifferentAccess. An initializer alias to ActionController::Parameters restores compatibility.