Quick commit for allowing required config options for mysql and postgres #12

Open
wants to merge 5 commits into
from

Conversation

Projects
None yet
3 participants

In our local setup we run create/drop on dbs from a cruise server to our seperate (remote) db. So I found I couldn't connect without some key config attributes set, especially 'host' so it doesn't default to 'localhost'.

The second commit simply adds some of these key config values to the create/drop commands on mysql and postgres if they're present in the passed database.yml.

The first commit just bumps the rails beta version, as the required one no longer exists and means i couldn't build the gemset.

Thanks for a great gem!

Tom

tommeier added some commits Mar 18, 2011

On Create / Drop add missing required config options. Locally it work…
…s without these options, but when running with remote databases (eg, UAT environments) these config options are required or obscure error messages happen.

Postgres -
  - Add config options for owner, port, and host
MySQL -
  - Add config options for host

+1

Also - Additional rake task that will close any open sessions on the test database. Avoids problems on test build servers etc that don't close the process gracefully.

iblue pushed a commit to blacklane/sequel-rails that referenced this pull request Aug 15, 2013

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