Fixes editing queries
Fixes editing queries

closes #156

Rails 3 does not support multi-database connection pool, transaction
was getting lost when connecting with read only parameters.
A commit was forced before reconnecting, but a few errors are still
being thrown.

tiagoamaro/sapos,gems-uff/sapos,tiagoamaro/sapos,tiagoamaro/sapos,gems-uff/sapos,gems-uff/sapos