redding/ardb — pull request #61 by jcredding (2014-05-07 15:56:47+00:00)
Title: Update `RelationSpy` to support `to_sql`

This updates the `RelationSpy` to support ActiveRecord's `to_sql`
method. This is to support more of ActiveRecord's relation
interface for tools using this method. This method is primarily
intended to support tools using this to create complex SQL queries
with subqueries or possibly unions. This creates a simple string
representing the applied expressions. The string is not actual
SQL.

@kellyredding - Ready for review. I need this for MR subquery testing.