[x] Update the Gemfile - Replace the existing Rails version with gem "rails", "~> 8.0".
[x] Check for Compatibility of Other Gems - Run bundle update to update Rails and all other dependencies. Review gem compatibility, as some may not yet support Rails 8. Update or replace incompatible gems as needed.
[ ] Upgrade Configuration Files - Run rails app:update to update configuration files. Rails will prompt you to review and accept/reject changes. Check config/application.rb and environment files for any new configurations introduced in Rails 8.
[ ] Address Deprecated Methods and Warnings - Review your app’s logs for deprecation warnings and adjust accordingly. This may include updating controller, model, or view methods if they've been deprecated or changed.
[x] Test the App - Run your test suite to ensure everything functions as expected. Pay special attention to tests that rely on Rails internals, as these may be affected by the upgrade.
[x] Migrate Database (if necessary) - Rails 8 may introduce new database features. Run rails db:migrate to ensure your schema is up-to-date.
[x] Update Documentation and Readme - Finally, update any documentation, such as README files, to reflect the Rails 8 upgrade.
Upgrade DuelTasks App to Rails 8
gem "rails", "~> 8.0"
.bundle update
to update Rails and all other dependencies. Review gem compatibility, as some may not yet support Rails 8. Update or replace incompatible gems as needed.rails app:update
to update configuration files. Rails will prompt you to review and accept/reject changes. Checkconfig/application.rb
and environment files for any new configurations introduced in Rails 8.rails db:migrate
to ensure your schema is up-to-date.