diff options
Diffstat (limited to 'lib/arel/select_manager.rb')
-rw-r--r-- | lib/arel/select_manager.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/select_manager.rb b/lib/arel/select_manager.rb index 423b217b8a..7512dd90ed 100644 --- a/lib/arel/select_manager.rb +++ b/lib/arel/select_manager.rb @@ -95,7 +95,7 @@ module Arel def order *expr # FIXME: We SHOULD NOT be converting these to SqlLiteral automatically @head.orders.concat expr.map { |x| - String === x ? Nodes::SqlLiteral.new(x) : x + String === x || Symbol === x ? Nodes::SqlLiteral.new(x.to_s) : x } self end |