bullet-train-co / bullet_train

The Open Source Ruby on Rails SaaS Template
MIT License
1.68k stars 269 forks source link

Update to Rails 7.2 #1716

Closed jagthedrummer closed 1 month ago

jagthedrummer commented 1 month ago

This PR was prepared by changing the rails line in the Gemfile to use ~> 7.2.0 and then running bundle update rails.

Then I ran ./bin/rails app:update and merged in the changes to a bunch of files in bin/, config/ and public/.

Then I made a few updates to some test files to account for changes in Rails, and one tiny tweak to a file in lib/ (which hopefully we'll get rid of soon).

Finally I uncommented all of the new defaults in config/initializers/new_framework_defaults_7_2.rb so that the new defaults will be active.

If you run into problems updating to Bullet Train 1.8.0 you may want to check the new defaults in config/initializers/new_framework_defaults_7_2.rb and see if they are contributing to your troubles.