aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-07-27 19:13:30 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-07-27 19:13:30 -0700
commit4bc43c7152a30752166964249f81302c21187e66 (patch)
tree2defca4b536c28e06f39abf4fcaf718bcaebc840 /lib
parent79f5f87bd5ee18b832edf81c3ee7b75f86fec194 (diff)
downloadrails-4bc43c7152a30752166964249f81302c21187e66.tar.gz
rails-4bc43c7152a30752166964249f81302c21187e66.tar.bz2
rails-4bc43c7152a30752166964249f81302c21187e66.zip
block not used
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