Skip to content

Conversation

@Dantemss
Copy link
Member

@Dantemss Dantemss commented Jun 7, 2019

  • Add .byebug_history to .gitignore
  • Add host: localhost to config/database.yml
  • Updated the README
  • Removed non-schema-affecting operations from old migrations (so rake db:drop db:create db:migrate db:seed actually runs and for improved compatibility with future migrations)
  • Re-dumped the schema after re-running all the migrations

The host option forces Rails to connect to Postgres using the password provided. If I don't add that, it tries to connect using peer authentication and fails. But you should test locally to make sure it doesn't break your setup. This is only for dev/test, production uses its own separate database.yml.

@Dantemss Dantemss requested a review from reedstrm June 7, 2019 22:29
@Dantemss Dantemss changed the title A couple of things I noticed while helping debug the Rails 5 PR A few things I noticed while helping debug the Rails 5 PR Jun 12, 2019
Copy link
Contributor

@reedstrm reedstrm left a comment

Choose a reason for hiding this comment

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

WFM, logical changes. Would review again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants