diff options
Diffstat (limited to 'lib/arel/algebra/relations/operations/order.rb')
-rw-r--r-- | lib/arel/algebra/relations/operations/order.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/arel/algebra/relations/operations/order.rb b/lib/arel/algebra/relations/operations/order.rb index a589b56997..df54735630 100644 --- a/lib/arel/algebra/relations/operations/order.rb +++ b/lib/arel/algebra/relations/operations/order.rb @@ -1,7 +1,8 @@ module Arel class Order < Compound attributes :relation, :orderings - deriving :== + deriving :== + requires :ordering def initialize(relation, *orderings, &block) @relation = relation |