Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade rails 7.2.1 #1679

Closed
wants to merge 4 commits into from
Closed

Upgrade rails 7.2.1 #1679

wants to merge 4 commits into from

Commits on Aug 27, 2024

  1. Bump rails from 7.1.3.4 to 7.2.1

    Bumps [rails](https://github.com/rails/rails) from 7.1.3.4 to 7.2.1.
    - [Release notes](https://github.com/rails/rails/releases)
    - [Commits](rails/rails@v7.1.3.4...v7.2.1)
    
    ---
    updated-dependencies:
    - dependency-name: rails
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    ea369e3 View commit details
    Browse the repository at this point in the history
  2. Update database_cleaner-active_record

    We were getting the following error in
    `spec/support/database_cleaner.rb`
    
    ```
    NoMethodError:
      undefined method `schema_migration' for an instance of ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
    ```
    
    Upgrading `database_cleaner-active_record` fixes this issue. Given that
    we appear to depend on this being up-to-date to successfully run the
    test suite, I've added this as a test dependency (we have it as one in
    some of our other repos)
    yndajas committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    023a9bb View commit details
    Browse the repository at this point in the history
  3. Run rails app:update

    This updates the application settings for Rails 7.2. I'm not confident
    on what stuff to accept and what to reject from the output of this
    command, but I roughly based it off the upgrades to our other apps
    yndajas committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    e067998 View commit details
    Browse the repository at this point in the history
  4. Use Rails 7.2 defaults

    yndajas committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    c183a98 View commit details
    Browse the repository at this point in the history