diff options
author | Carl Lerche <carllerche@mac.com> | 2010-03-12 16:39:32 -0800 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-03-12 16:39:32 -0800 |
commit | e9c71a864bd33b3109e802efc7d03255037a899f (patch) | |
tree | a4120f0f2be359bbf4a78688e02dd89c0503a643 /lib/arel/algebra/relations/operations/order.rb | |
parent | 3ab6ae0c601d1b4459efd8bb39650fee370aa5b8 (diff) | |
download | rails-e9c71a864bd33b3109e802efc7d03255037a899f.tar.gz rails-e9c71a864bd33b3109e802efc7d03255037a899f.tar.bz2 rails-e9c71a864bd33b3109e802efc7d03255037a899f.zip |
Support in memory ordering better.
Diffstat (limited to 'lib/arel/algebra/relations/operations/order.rb')
-rw-r--r-- | lib/arel/algebra/relations/operations/order.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/arel/algebra/relations/operations/order.rb b/lib/arel/algebra/relations/operations/order.rb index a589b56997..df54735630 100644 --- a/lib/arel/algebra/relations/operations/order.rb +++ b/lib/arel/algebra/relations/operations/order.rb @@ -1,7 +1,8 @@ module Arel class Order < Compound attributes :relation, :orderings - deriving :== + deriving :== + requires :ordering def initialize(relation, *orderings, &block) @relation = relation |