diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-27 19:13:30 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-27 19:13:30 -0700 |
commit | 4bc43c7152a30752166964249f81302c21187e66 (patch) | |
tree | 2defca4b536c28e06f39abf4fcaf718bcaebc840 /lib/arel/algebra | |
parent | 79f5f87bd5ee18b832edf81c3ee7b75f86fec194 (diff) | |
download | rails-4bc43c7152a30752166964249f81302c21187e66.tar.gz rails-4bc43c7152a30752166964249f81302c21187e66.tar.bz2 rails-4bc43c7152a30752166964249f81302c21187e66.zip |
block not used
Diffstat (limited to 'lib/arel/algebra')
-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 |