Update to rails 7.1 #6
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request upgrades the Rails application from version 6.1 to 7.1 and updates Ruby and several dependencies accordingly. It also refreshes the RSpec and test configuration to match newer conventions and best practices, and removes some legacy or unnecessary code. Below are the most important changes:
Rails and Ruby Upgrade:
config/application.rb
,Gemfile
, migration version updates) and Ruby 3.3.5, updating related gems and configuration settings. [1] [2] [3]Gem and Dependency Updates:
Gemfile
to match Rails 7.1 requirements (e.g.,rails
,puma
,sqlite3
,rspec-rails
), removed legacy compatibility gems, and adjusted development/test groupings.RSpec and Test Configuration:
.rspec
,spec_helper.rb
, andrails_helper.rb
to modern RSpec conventions: requiringrails_helper
, updating documentation links, improving fixture configuration, and removing or updating legacy code and comments. [1] [2] [3] [4] [5] [6] [7]Environment Configuration:
Cleanup:
tmp/development_secret.txt
as part of general cleanup.