diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2015-12-17 17:23:41 -0200 |
---|---|---|
committer | Rafael França <rafaelmfranca@gmail.com> | 2015-12-17 17:23:41 -0200 |
commit | 0167e1d2fbdda9e0783fe1e114f5267bdd431383 (patch) | |
tree | a36041a4fd516a51cb8ca6c213482e11bde349e1 /lib/arel | |
parent | 8f9d2398cc37101d7fd54def998e344021fa6892 (diff) | |
parent | 1aecf8b41ca3f238cb41c03902dacc8a5e3039f4 (diff) | |
download | rails-0167e1d2fbdda9e0783fe1e114f5267bdd431383.tar.gz rails-0167e1d2fbdda9e0783fe1e114f5267bdd431383.tar.bz2 rails-0167e1d2fbdda9e0783fe1e114f5267bdd431383.zip |
Merge pull request #381 from carsonreinke/function_order
Add OrderPredications back into Nodes::Function
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/nodes/function.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |