all specs pass against couchdb trunk

This commit is contained in:
Chris Anderson 2009-03-15 13:00:47 -07:00
parent 917157a0e7
commit 36c8bea453
4 changed files with 11 additions and 25 deletions

View file

@ -205,8 +205,8 @@ module CouchRest
_run_destroy_callbacks do
result = database.delete_doc(self, bulk)
if result['ok']
self['_rev'] = nil
self['_id'] = nil
self.delete('_rev')
self.delete('_id')
end
result['ok']
end