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

DEV: Compatibility with Rails 6.1 (2) #28

Merged
merged 1 commit into from Apr 15, 2021

Conversation

OsamaSayegh
Copy link
Member

@OsamaSayegh OsamaSayegh commented Apr 14, 2021

Follow-up to #27.

The old PR doesn't fully fix the compatibility problems; there are a few more spots that need updating to call db_config instead of spec and rails now raises ActiveRecord::ConnectionNotEstablished when it can't connect to a database so we need to kickoff the failover process when that exception occurs. Integration tests are now updated to use rails 6.1.3.1.

Copy link

@eviltrout eviltrout left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good but let's not merge until after we cut the beta.

@SamSaffron
Copy link
Member

@eviltrout merging here is fine, we just need to be careful not to bump the gem version in the lockfile for Discourse until we are ready.

@OsamaSayegh OsamaSayegh merged commit 719a46f into master Apr 15, 2021
@OsamaSayegh OsamaSayegh deleted the dev/compatibility-with-rails-6.1.3 branch April 15, 2021 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants