From 4bc43c7152a30752166964249f81302c21187e66 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 27 Jul 2010 19:13:30 -0700 Subject: block not used --- lib/arel/algebra/relations/operations/order.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3