Repository navigation
Return db_config from resolve_config_for_connection - #37368
Merged
eileencodes merged 1 commit intoOct 21, 2019
Merged
Conversation
eileencodes
force-pushed
the
resolve-configuration-with-db-config
branch
2 times, most recently
from
October 16, 2019 20:11
eaeb6ea to
7636cf1
Compare
Member
|
If anyone sees this is green, don't merge yet. Railties will start failing when run in isolation mode due to a change in the schema cache (I think). |
Rather than return a configuration hash from `resolve_config_for_connection` which also discards the `env_name` and `spec_name`, return a `DatabaseConfig` object! Also make this method private since it's only used inside this class. Co-authored-by: eileencodes <[email protected]>
eileencodes
force-pushed
the
resolve-configuration-with-db-config
branch
from
October 21, 2019 13:32
7636cf1 to
801cd88
Compare
Member
|
AJ tests on 2.5 are failing on other branches so I'm going to merge this because I don't think it's related. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rather than return a configuration hash from
resolve_config_for_connectionwhich also discards theenv_nameandspec_name, return aDatabaseConfigobject!Also make this method private since it's only used inside this class.
cc / @eileencodes