rails/rails — pull request #10991 by neerajdotname (2013-06-18 09:29:04+00:00)
Title: log the sql that is actually sent to the database

If I have a query that produces sql
`WHERE "users"."name" = 'a b'` then in the log all the
whitespace is being squeezed. So the sql that is printed in the
log is `WHERE "users"."name" = 'a b'`.

This can be confusing. This commit fixes it by ensuring that
whitespace is not squeezed.

fixes #10982