Renaming support delete method so as not to conflict with ExtendedDocument
This commit is contained in:
parent
da21fba4dd
commit
0c008d4bc7
2 changed files with 2 additions and 34 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue