langalex/couch_potato — pull request #66 by matthiasjakel (2012-06-19 22:22:13+00:00)
Title: Fix errors when fetching deleted documents using the bulk api

When you try to fetch a deleted document, the doc attribute is set but has the value null. My commit fixes that and avoids the following exception 'NoMethodError: undefined method `database=' for nil:NilClass'.