kenn/slavery — pull request #1 by jayuen (2012-10-02 15:59:04+00:00)
Title: Create a connection to master when the slave is not specified

Hi there:

Just tried out the gem and it works great in our app. However, in our company we have many environments (QA, production, etc) that we deploy to and not all of the environments either have a slave or need to use the slave. I made some changes so that if a slave is not specified in the database.yml, it will create a connection against master instead.

Can you take a look and see if it is acceptable to be included in the gem? If you have any suggestions for improvement, please let me know.

Thanks,
Jason