Renaming support delete method so as not to conflict with ExtendedDocument

This commit is contained in:
Sam Lown 2010-06-21 15:10:42 +02:00
parent da21fba4dd
commit 0c008d4bc7
2 changed files with 2 additions and 34 deletions

View file

@ -3,10 +3,10 @@ module CouchRest
class Database
alias :delete_old! :delete!
alias :delete_orig! :delete!
def delete!
clear_model_fresh_cache
delete_old!
delete_orig!
end
# If the database is deleted, ensure that the design docs will be refreshed.