Skip to content

Conversation

@cirdes
Copy link
Contributor

@cirdes cirdes commented Nov 20, 2025

Summary

This PR upgrades Rails from version 8.0.2.1 to 8.1.1, bringing the application up to date with the latest Rails 8.1 features and improvements.

Changes

Core Upgrade

  • Rails version: Upgraded from 8.0.2.1 to 8.1.1
  • Configuration defaults: Updated from 8.0 to 8.1 in config/application.rb
  • Module name: Fixed module name from RubyUIWeb to RubyUiWeb for consistency
  • rails app:update: To generate missing files

Database Migrations

  • Added Active Storage migrations:
    • add_service_name_to_active_storage_blobs
    • create_active_storage_variant_records
    • remove_not_null_on_active_storage_blobs_checksum
  • Updated schema version to 8.1

Configuration Updates

  • Development environment:
    • Added verbose redirect logs
    • Added asset quiet mode
    • Code style improvements (hash formatting)
  • Production environment:
    • Enabled STDOUT logging with tagged logging
    • Code style improvements
    • Updated comments
  • Test environment:
    • Code style improvements
  • Puma configuration:
    • Updated comments for worker configuration
  • Content Security Policy:
    • Added comments for nonce auto-configuration

Error Pages

Added default missing error pages

  • 400.html - Bad Request
  • 404.html - Not Found
  • 406-unsupported-browser.html - Unsupported Browser
  • 422.html - Unprocessable Entity
  • 500.html - Internal Server Error

Assets

  • Added public/icon.png and public/icon.svg for favicon support

Setup Script

  • Updated bin/setup to support --reset flag for database reset

@cirdes cirdes merged commit e0b03cb into main Nov 20, 2025
3 checks passed
@cirdes cirdes deleted the cirdes/upgrade-rails8-1 branch November 20, 2025 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants