aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-09-10 18:19:31 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-09-10 18:19:31 -0700
commite4e81cdcf00d9bc023502bf1ce2e6dad40296835 (patch)
tree44fd9586bd053a737edca9ad34401eb5ccde739c /lib/arel
parent458ef3fb7d51ef2e9d1cd9513bdc225daffe8146 (diff)
downloadrails-e4e81cdcf00d9bc023502bf1ce2e6dad40296835.tar.gz
rails-e4e81cdcf00d9bc023502bf1ce2e6dad40296835.tar.bz2
rails-e4e81cdcf00d9bc023502bf1ce2e6dad40296835.zip
backwards compat
Diffstat (limited to 'lib/arel')
-rw-r--r--lib/arel/nodes/count.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/arel/nodes/count.rb b/lib/arel/nodes/count.rb
index 2f220dbfc8..354659ef70 100644
--- a/lib/arel/nodes/count.rb
+++ b/lib/arel/nodes/count.rb
@@ -1,6 +1,8 @@
module Arel
module Nodes
class Count < Arel::Nodes::Function
+ include Arel::Expression
+
attr_accessor :distinct
def initialize expr, distinct = false, aliaz = nil