nesquena/query_reviewer — pull request #10 by guzart (2011-10-25 15:07:33+00:00)
Title: Handle Arel::UpdateManager instances as sql.

Fix for issue #9: Exception when saving data on Rails 3.1

Update to handle the passed instance of Arel::UpdateManager in Rails 3.1, instead of a sql query string.

Those where the only two places it was generating an error, sometimes it gets a string others an Arel::UpdateManager instance.