Skip to content

Commit 542a6fd

Browse files
committed
Arel::Nodes::Unary is the proper superclass of Arel::Nodes::Ordering
1 parent b05af61 commit 542a6fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/arel/visitors/sqlserver.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Nodes
66

77
# Extending the Ordering class to be comparrison friendly which allows us to call #uniq on a
88
# collection of them. See SelectManager#order for more details.
9-
class Ordering < Arel::Nodes::Binary
9+
class Ordering < Arel::Nodes::Unary
1010
def hash
1111
expr.hash
1212
end

0 commit comments

Comments
 (0)