aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/named_function.rb
diff options
context:
space:
mode:
authorSamuel Kadolph <samuel@kadolph.com>2011-05-27 17:21:40 -0400
committerSamuel Kadolph <samuel@kadolph.com>2011-05-27 17:21:40 -0400
commit00d1482fefa1cf9c3753b58f4fe9b580c52ae935 (patch)
tree40c61fb51f9583c7eeaa3a2f6bbb7dedac156af4 /lib/arel/nodes/named_function.rb
parent58c3d1d56cf38aebf09e64803441b606680b680a (diff)
downloadrails-00d1482fefa1cf9c3753b58f4fe9b580c52ae935.tar.gz
rails-00d1482fefa1cf9c3753b58f4fe9b580c52ae935.tar.bz2
rails-00d1482fefa1cf9c3753b58f4fe9b580c52ae935.zip
Include Arel::Predicates to Arel::Nodes::Function so you can do table[:id].count.eq(2)
Diffstat (limited to 'lib/arel/nodes/named_function.rb')
-rw-r--r--lib/arel/nodes/named_function.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/arel/nodes/named_function.rb b/lib/arel/nodes/named_function.rb
index 5fca33e323..56669bf858 100644
--- a/lib/arel/nodes/named_function.rb
+++ b/lib/arel/nodes/named_function.rb
@@ -3,8 +3,6 @@ module Arel
class NamedFunction < Arel::Nodes::Function
attr_accessor :name
- include Arel::Predications
-
def initialize name, expr, aliaz = nil
super(expr, aliaz)
@name = name