Documentation could include an example that builds from an ActiveRecord scope using `.to_sql`.
Documentation could include an example that builds from an ActiveRecord scope using
.to_sql.