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

Support Rails 7 #24

Merged
merged 1 commit into from
Aug 22, 2022
Merged

Support Rails 7 #24

merged 1 commit into from
Aug 22, 2022

Conversation

adamstegman
Copy link
Member

Rails 6.1 deprecated connection_config in favor of connection_db_config, and Rails 7 removes it. Add tests to catch this problem.

Rails 6.1 deprecated `connection_config` in favor of `connection_db_config`, and Rails 7 removes it.
Add tests to catch this problem.
@adamstegman adamstegman requested a review from a team August 19, 2022 19:44
@adamstegman adamstegman mentioned this pull request Aug 19, 2022
s.add_runtime_dependency 'activerecord' , '>= 4.1', '< 8'
s.add_runtime_dependency 'railties' , '>= 4.1', '< 8'
s.add_runtime_dependency 'activesupport' , '>= 6.1', '< 8'
s.add_runtime_dependency 'activerecord' , '>= 6.1', '< 8'
Copy link
Member Author

Choose a reason for hiding this comment

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

connection_db_config was added in 6.1, so this will be a major version bump to remove this support.

Copy link

@maxfierke maxfierke left a comment

Choose a reason for hiding this comment

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

:octocat: looks good!

@adamstegman adamstegman merged commit 4b4fb47 into main Aug 22, 2022
@adamstegman adamstegman deleted the EE-398/connection_config branch August 22, 2022 20:39
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.

3 participants