# File lib/thinking_sphinx/active_record/sql_builder.rb, line 12 def sql_query statement.to_relation.to_sql.gsub(/\n/, "\\\n") end