Skip to content

Commit 8e0cb12

Browse files
etagwerkerclaude
andcommitted
Upgrade Rails 7.1 → 7.2 with dual-boot to Rails 8.0
- Update Rails from 7.1 to 7.2 as current version - Set up dual-boot targeting Rails 8.0 (all 204 tests pass on both) - Update load_defaults from 7.1 to 7.2 - Update rspec-rails ~> 6.1 (fixture_paths support) - Update database_cleaner-active_record to 2.2.2 (Rails 7.2 compat) - Fix show_exceptions: false → :none in test.rb - Fix fixture_path → fixture_paths in rails_helper.rb - Remove config.read_encrypted_secrets from production.rb - Opt in to Rails 8.1 to_time_preserves_timezone = :zone Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1d74664 commit 8e0cb12

7 files changed

Lines changed: 253 additions & 240 deletions

File tree

Gemfile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,9 @@ git_source(:github) do |repo_name|
1212
end
1313

1414
if next?
15-
# using the 7-0-stable branch for the time being until the fix is merged into main
16-
# to make it work with ruby 3.1
17-
# read more about it here: https://github.com/rails/rails/issues/43998,
18-
# and here: https://gist.github.com/claudiug/bdc2fb70b10d19513208c816588aed92
19-
gem "rails", "~> 7.2.0"
15+
gem "rails", "~> 8.0.0"
2016
else
21-
gem "rails", "~> 7.1.0"
17+
gem "rails", "~> 7.2.0"
2218
end
2319
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
2420

@@ -73,7 +69,7 @@ group :development, :test do
7369
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
7470
gem "byebug", platforms: [:mri, :mingw, :x64_mingw]
7571
# Adds support for Capybara system testing and selenium driver
76-
gem "rspec-rails", "~> 6.0.3"
72+
gem "rspec-rails", "~> 6.1"
7773
gem "faker"
7874
gem "shoulda-matchers", "~> 3.1"
7975
gem "rails-controller-testing"

0 commit comments

Comments
 (0)