gucki/sequel_rails3 — pull request #1 by normelton (2012-12-17 16:49:55+00:00)
Title: Remove sql.squeeze from logger to prevent UTF-8 encoding errors

Calling sql.squeeze(" ") in the database.log_yield method seems to cause UTF-8 encoding errors when working with BLOBs. I'm happy to work on a cleaner solution, but this seems to be the most straightforward. It would certainly be better to replace binary content with a placeholder (""), but by the time sequel_rails gets a hold of the query, it's just one long string.