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

Fix url config PR test failures #94

Merged
merged 3 commits into from
Sep 30, 2015
Merged

Fix url config PR test failures #94

merged 3 commits into from
Sep 30, 2015

Conversation

bf4
Copy link
Contributor

@bf4 bf4 commented Sep 29, 2015

Finishes #93

# https://github.com/rails/rails/blob/97b980b4e61aea3cee429bdee4b2eae2329905cd/activerecord/lib/active_record/connection_handling.rb#L60-L81
#
# Expands a connection string into a hash.
class ConnectionUrlResolver # :nodoc:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm open to changing this to however you like, new file, less comments, less encapsulation, etc

Changing uri.hostname to uri.host shouldn't be too important
since hostname is just smarter about IPv6

rails/rails@1c2f521
mnelson added a commit that referenced this pull request Sep 30, 2015
@mnelson mnelson merged commit 1e572a3 into instacart:master Sep 30, 2015
@bf4 bf4 deleted the fix_93 branch September 30, 2015 19:32
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.

2 participants