This is a library, which resolves incompatibility of solargraph-rails with Rails 7.1.
See this issue for more datails.
Install the gem and add to the application's Gemfile by executing:
$ bundle add solargraph-rails-patch-for-rails71
If bundler is not being used to manage dependencies, install the gem by executing:
$ gem install solargraph-rails-patch-for-rails71
Update your .solargraph.yml
as follows:
plugins:
- solargraph-rails
- solargraph-rails-patch-for-rails71 # Add this line
The gem is available as open source under the terms of the MIT License.