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 test DB creation in Compose's database.yml #3123

Merged
merged 2 commits into from
Jun 20, 2017

Conversation

jmdeldin
Copy link
Contributor

Proposed changes

Without the host and credentials, the myapp_test database is not created, and instead, the user receives a PG error and a long backtrace. This commit moves the credentials to a default anchor to share across
development and test environments, so readers can follow the tutorial without a hitch.

Without the host and credentials, the `myapp_test` database is not
created, and instead, the user receives a PG error and a long backtrace.
This commit moves the credentials to a default anchor to share across
development and test environments.
@mdlinville
Copy link

@shin- PTAL

Copy link

@mdlinville mdlinville left a comment

Choose a reason for hiding this comment

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

Need tech review

@mdlinville
Copy link

Please fix conflicts. @shin- ping :)

@shin-
Copy link
Contributor

shin- commented Jun 19, 2017

I'm no rails expert but I think that's correct. LGTM

@mdlinville mdlinville merged commit 8cd94d3 into docker:master Jun 20, 2017
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