aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/arel/algebra/relations/operations/order.rb2
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