fixed documentation: before(:delete) => before(:destroy)
This commit is contained in:
parent
3bff23e7c5
commit
081cf171cd
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ module CouchRest
|
|||
raise "#{self.inspect} failed to save" unless self.save
|
||||
end
|
||||
|
||||
# Deletes the document from the database. Runs the :delete callbacks.
|
||||
# Deletes the document from the database. Runs the :destroy callbacks.
|
||||
# Removes the <tt>_id</tt> and <tt>_rev</tt> fields, preparing the
|
||||
# document to be saved to a new <tt>_id</tt>.
|
||||
def destroy
|
||||
|
|
Loading…
Reference in a new issue