From 85882d1b26b033afb2643865afe6410673949d32 Mon Sep 17 00:00:00 2001 From: Arthur Taylor <arthur@aupeo.com> Date: Thu, 28 Apr 2011 10:11:50 +0200 Subject: Add support for ordering on expressions Conflicts: lib/arel.rb lib/arel/attributes/attribute.rb lib/arel/nodes/infix_operation.rb lib/arel/nodes/named_function.rb Conflicts: lib/arel.rb lib/arel/attributes/attribute.rb --- lib/arel/attributes/attribute.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/arel/attributes') diff --git a/lib/arel/attributes/attribute.rb b/lib/arel/attributes/attribute.rb index 240f224d8c..b9fd8da67e 100644 --- a/lib/arel/attributes/attribute.rb +++ b/lib/arel/attributes/attribute.rb @@ -3,6 +3,7 @@ module Arel class Attribute < Struct.new :relation, :name include Arel::Expressions include Arel::Predications + include Arel::OrderPredications include Arel::Math ### -- cgit v1.2.3