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

Conversation

yndajas
Copy link
Member

@yndajas yndajas commented Aug 27, 2024

Closes #1672, closes #1678

We want to keep Bouncer and Transition in sync (as detailed in both repos' READMEs), so we should merge the Bouncer equivalent alongside this one: alphagov/bouncer#556

I pushed some fixes to #1678 but GitHub's CI isn't happy that the Gemfile changed, so I'm opening a new PR to replace the old one(s)


This application is owned by the publishing platform team. Please let us know in #govuk-publishing-platform when you raise any PRs.

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

dependabot bot and others added 4 commits August 27, 2024 09:28
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]>
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)
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 yndajas closed this Aug 27, 2024
@yndajas yndajas deleted the upgrade-rails-7.2.1 branch August 27, 2024 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant