all specs pass against couchdb trunk
This commit is contained in:
parent
917157a0e7
commit
36c8bea453
4 changed files with 11 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue