From 1aecf8b41ca3f238cb41c03902dacc8a5e3039f4 Mon Sep 17 00:00:00 2001 From: Carson Reinke Date: Thu, 23 Jul 2015 09:55:59 -0400 Subject: Add OrderPredications back into Nodes::Function (removed with deprecation of Expression) --- lib/arel/nodes/function.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/arel/nodes') diff --git a/lib/arel/nodes/function.rb b/lib/arel/nodes/function.rb index 733a00df46..182dfa7329 100644 --- a/lib/arel/nodes/function.rb +++ b/lib/arel/nodes/function.rb @@ -3,6 +3,7 @@ module Arel class Function < Arel::Nodes::Node include Arel::Predications include Arel::WindowPredications + include Arel::OrderPredications attr_accessor :expressions, :alias, :distinct def initialize expr, aliaz = nil -- cgit v1.2.3