A step-by-step guide to upgrading a Rails application from 7.2 to Rails 8, covering Ruby 3.4 upgrade with YJIT, Solid Queue as a Redis-free background job queue, Solid Cache and Solid Cable for database-backed caching and WebSockets, the new built-in authentication generator as a Devise alternative, PWA support, breaking
Table of contents
Before We StartStep 1: Upgrade Ruby to 3.4 (Recommended)Step 2: Update the GemfileStep 3: Run the Update TaskStep 4: Solid Queue (Optional but Recommended)Step 5: Solid Cache (Optional)Step 6: Solid Cable (Optional)Step 7: Built-in Authentication GeneratorStep 8: Progressive Web App (PWA) SupportStep 9: Breaking Changes (Minimal!)Step 10: Testing UpdatesStep 11: Performance ImprovementsStep 12: Deployment with Kamal 2Upgrade ChecklistCommon GotchasMigration StrategyWhat’s NextResourcesSort: