diff options
Diffstat (limited to 'lib/arel/algebra/relations/operations/order.rb')
-rw-r--r-- | lib/arel/algebra/relations/operations/order.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/algebra/relations/operations/order.rb b/lib/arel/algebra/relations/operations/order.rb index 5d9b752627..54be2f5af0 100644 --- a/lib/arel/algebra/relations/operations/order.rb +++ b/lib/arel/algebra/relations/operations/order.rb @@ -2,7 +2,7 @@ module Arel class Order < Compound attr_reader :orderings - def initialize(relation, *orderings, &block) + def initialize(relation, *orderings) super(relation) @orderings = orderings.collect { |o| o.bind(relation) } end |