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