aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/engines
diff options
context:
space:
mode:
authorBryan Helmkamp <bryan@brynary.com>2009-09-30 23:36:06 -0400
committerBryan Helmkamp <bryan@brynary.com>2009-09-30 23:36:06 -0400
commit2824d7c2ad958679ec018cf15c06cc8008d7f193 (patch)
tree4c93001f4f4b94f0061d4a1d82dbce4f28ac7c28 /lib/arel/engines
parent71d65b7571d5ff01e0de3c08a9396dc1e1386118 (diff)
downloadrails-2824d7c2ad958679ec018cf15c06cc8008d7f193.tar.gz
rails-2824d7c2ad958679ec018cf15c06cc8008d7f193.tar.bz2
rails-2824d7c2ad958679ec018cf15c06cc8008d7f193.zip
Whitespace
Diffstat (limited to 'lib/arel/engines')
-rw-r--r--lib/arel/engines/sql/relations/relation.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/arel/engines/sql/relations/relation.rb b/lib/arel/engines/sql/relations/relation.rb
index ed7f19ddbd..2edbe6a5f7 100644
--- a/lib/arel/engines/sql/relations/relation.rb
+++ b/lib/arel/engines/sql/relations/relation.rb
@@ -25,15 +25,15 @@ module Arel
("OFFSET #{skipped}" unless skipped.blank? )
else
- build_query \
- "SELECT #{select_clauses.join(', ')}",
- "FROM #{table_sql(Sql::TableReference.new(self))}",
- (joins(self) unless joins(self).blank? ),
- ("WHERE #{where_clauses.join("\n\tAND ")}" unless wheres.blank? ),
- ("GROUP BY #{group_clauses.join(', ')}" unless groupings.blank? ),
- ("ORDER BY #{order_clauses.join(', ')}" unless orders.blank? ),
- ("LIMIT #{taken}" unless taken.blank? ),
- ("OFFSET #{skipped}" unless skipped.blank? )
+ build_query \
+ "SELECT #{select_clauses.join(', ')}",
+ "FROM #{table_sql(Sql::TableReference.new(self))}",
+ (joins(self) unless joins(self).blank? ),
+ ("WHERE #{where_clauses.join("\n\tAND ")}" unless wheres.blank? ),
+ ("GROUP BY #{group_clauses.join(', ')}" unless groupings.blank? ),
+ ("ORDER BY #{order_clauses.join(', ')}" unless orders.blank? ),
+ ("LIMIT #{taken}" unless taken.blank? ),
+ ("OFFSET #{skipped}" unless skipped.blank? )
end
end