diff options
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/select_manager.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/select_manager.rb b/lib/arel/select_manager.rb index dc80150957..cff3236a33 100644 --- a/lib/arel/select_manager.rb +++ b/lib/arel/select_manager.rb @@ -135,6 +135,10 @@ module Arel self end + def projections= projections + @ctx.projections = projections + end + def order *expr # FIXME: We SHOULD NOT be converting these to SqlLiteral automatically @ast.orders.concat expr.map { |x| |