lib/prosperity/aggregate/count.rb in prosperity-0.0.10 vs lib/prosperity/aggregate/count.rb in prosperity-0.0.11

- old
+ new

@@ -2,10 +2,10 @@ class Aggregate::Count < Aggregate::Base def to_sql "COUNT(1)" end - def apply(scope) + def apply(scope, options = {}) scope.count end end end