Should always include docs when paginating by Model##paginate

Fixes https://github.com/couchrest/couchrest_model/issues/81
This commit is contained in:
Kostiantyn Kahanskyi 2011-06-06 12:51:02 +02:00
parent 6e025bb256
commit 5cee1734da
2 changed files with 7 additions and 7 deletions

View file

@ -244,6 +244,7 @@ module CouchRest
else
options = { :limit => per_page, :skip => per_page * (page - 1) }
end
options[:include_docs] = true
view_options.merge(options)
end