aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2014-11-26 14:41:44 -0700
committerSean Griffin <sean@seantheprogrammer.com>2014-11-26 14:41:44 -0700
commitb40dfdde690ea32d658393e9e81c6ad36d23891f (patch)
treeed6dcd74bb8e1a780dc62fb9546da95c9e8d1c5e /lib
parent1fefe71b1872c0a83f09231164863cd8dbb57174 (diff)
parent8572455d4cf7a61462bde7cef2d3724685c1c44c (diff)
downloadrails-b40dfdde690ea32d658393e9e81c6ad36d23891f.tar.gz
rails-b40dfdde690ea32d658393e9e81c6ad36d23891f.tar.bz2
rails-b40dfdde690ea32d658393e9e81c6ad36d23891f.zip
Merge pull request #177 from NARKOZ/patch-0
remove extra space from select statement
Diffstat (limited to 'lib')
-rw-r--r--lib/arel/visitors/to_sql.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/arel/visitors/to_sql.rb b/lib/arel/visitors/to_sql.rb
index 884076d987..30c8634119 100644
--- a/lib/arel/visitors/to_sql.rb
+++ b/lib/arel/visitors/to_sql.rb
@@ -211,7 +211,6 @@ module Arel
}
unless o.orders.empty?
- collector << SPACE
collector << ORDER_BY
len = o.orders.length - 1
o.orders.each_with_index { |x, i|