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

Allow for new database.yml configurations with roles #272

Merged
merged 5 commits into from
Jun 10, 2024

Conversation

wadewinningham
Copy link
Contributor

Newer Rails applications may be using a configuration for multiple databases.

By default, Rails will look forprimary named connection details and use those with multiple db setup. The changes in this PR will look for and use the primary settings if the key exists, otherwise, it will assume it's normal, single db, database setttings which would be compatible with previous versions of Rails.

@wadewinningham wadewinningham added the enhancement New feature or request label Jun 1, 2024
@wadewinningham wadewinningham self-assigned this Jun 1, 2024
@wadewinningham wadewinningham requested a review from a team as a code owner June 1, 2024 00:28
@wadewinningham
Copy link
Contributor Author

Successful dev dump test.

@xjunior
Copy link
Contributor

xjunior commented Jun 4, 2024

@wadewinningham wadewinningham merged commit 4e317f8 into main Jun 10, 2024
157 checks passed
@wadewinningham wadewinningham deleted the ww/better-db-config-parsing branch June 10, 2024 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants