aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/order_predications.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/order_predications.rb')
-rw-r--r--lib/arel/order_predications.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arel/order_predications.rb b/lib/arel/order_predications.rb
index af163c9454..153fcffb41 100644
--- a/lib/arel/order_predications.rb
+++ b/lib/arel/order_predications.rb
@@ -2,11 +2,11 @@ module Arel
module OrderPredications
def asc
- Nodes::Ordering.new self, :asc
+ Nodes::Ascending.new self
end
def desc
- Nodes::Ordering.new self, :desc
+ Nodes::Descending.new self
end
end