Skip to content

Update to Rails 8.1 and Ruby 3.4#23

Open
awilfox wants to merge 1 commit into
mainfrom
awilfox/AP-761-rails-8-1
Open

Update to Rails 8.1 and Ruby 3.4#23
awilfox wants to merge 1 commit into
mainfrom
awilfox/AP-761-rails-8-1

Conversation

@awilfox

@awilfox awilfox commented Jul 2, 2026

Copy link
Copy Markdown
Member
  • Use ruby:3.4-slim for Docker base image.

  • Update configuration for Rails 8.1 changes.

  • Skip Metrics/BlockLength Rubocop on RSpec examples.

  • Various minor edits for Rubocop conformance.

Closes: AP-761


Rails' auto-updater had another suggestion for config/environments/test.rb:

-   config.eager_load = ActiveModel::Type::Boolean.new.cast(ENV.fetch('CI', 'false'))
+   config.eager_load = ENV["CI"].present?

but I wasn't sure if we wanted to do that or not.

@awilfox awilfox self-assigned this Jul 2, 2026
@awilfox awilfox force-pushed the awilfox/AP-761-rails-8-1 branch from 93a3c92 to b9629f8 Compare July 2, 2026 01:23
@awilfox

awilfox commented Jul 2, 2026

Copy link
Copy Markdown
Member Author

v2: bah, that silly legacy platform "x86_64" was broken because of bundler updates…

* Use ruby:3.4-slim for Docker base image.

* Update configuration for Rails 8.1 changes.

* Update Brakeman to 8.x for Rails 8.1 compatibility.

* Skip Metrics/BlockLength Rubocop on RSpec examples.

* Various minor edits for Rubocop conformance.

Closes: AP-761
@awilfox awilfox force-pushed the awilfox/AP-761-rails-8-1 branch from b9629f8 to 4576fdd Compare July 2, 2026 01:47
@awilfox

awilfox commented Jul 2, 2026

Copy link
Copy Markdown
Member Author

v3:

  • Update Brakeman to 8.x to support Rails 8.1.

@anarchivist anarchivist left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+. thanks!

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