diff --git a/lib/couchrest/mixins/document_queries.rb b/lib/couchrest/mixins/document_queries.rb index a1312d9..d7c8a11 100644 --- a/lib/couchrest/mixins/document_queries.rb +++ b/lib/couchrest/mixins/document_queries.rb @@ -12,7 +12,7 @@ module CouchRest # name of the current class. Take the standard set of # CouchRest::Database#view options. def all(opts = {}, &block) - view(:all, {:reduce => false}.merge(opts), &block) + view(:all, opts, &block) end # Returns the number of documents that have the "couchrest-type" field