sequel-rails
sequel-rails copied to clipboard
Quick commit for allowing required config options for mysql and postgres
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
+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.
+1