bikeindex / bike_index

All the code for Bike Index, because we love you
https://bikeindex.org
GNU Affero General Public License v3.0
274 stars 70 forks source link

BIB-51: Upgrading parallel_tests to fix db:structure:load deprecation #2580

Closed torresga closed 2 months ago

torresga commented 2 months ago

This PR fixes the following deprecation:

DEPRECATION WARNING: Using `bin/rails db:structure:load` is deprecated and will be removed in Rails 7.0. Configure the format using `config.active_record.schema_format = :sql` to use `structure.sql` and run `bin/rails db:schema:load` instead. (called from <main> at bin/rake:4)

We determined that the deprecation was coming from the parallel_tests gem. We upgraded the gem to the most recent minor patch version that fixed the deprecation, which was 3.5.2.

Please note: This should be merged before https://github.com/bikeindex/bike_index/pull/2578