From a5e3ac2c2d20ea1335a1aa48e6813272a39bc3d3 Mon Sep 17 00:00:00 2001 From: Emilio Tagua Date: Sat, 26 Dec 2009 16:42:57 -0300 Subject: Don't split sql logging across multiple lines. --- lib/arel/engines/sql/relations/relation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/arel/engines/sql/relations') diff --git a/lib/arel/engines/sql/relations/relation.rb b/lib/arel/engines/sql/relations/relation.rb index b8f384a4c1..deca9b19cb 100644 --- a/lib/arel/engines/sql/relations/relation.rb +++ b/lib/arel/engines/sql/relations/relation.rb @@ -48,7 +48,7 @@ module Arel protected def build_query(*parts) - parts.compact.join("\n") + parts.compact.join(" ") end def select_clauses -- cgit v1.2.3