Misha Conway
Misha Conway
It occurs to me that on some db drivers, it is possible to send multiple sql statements to an execute call which could be a mix of selects, writes, and...
@sobrinho Changes mentioned in previous comment have been made and rebased back into one commit.
@sobrinho I'll work on adding specs that test that it sends to slave group on several different cases of executes running single selects and that it doesn't whenever there is...
@thiagopradi @sobrinho Added specs! The first verifies that if a slave group is configured and you attempt to run a simple select via ActiveRecord::Base.connection.execute that it sends the select to...
@thiagopradi @sobrinho Wondering if this can be considered again as I think it adds some important functionality that one would intuitively expect, but is missing in the current HEAD. Understand...