class CouchRest::Database

Public Instance Methods

clear_extended_doc_fresh_cache() click to toggle source

If the database is deleted, ensure that the design docs will be refreshed.

# File lib/couchrest/support/couchrest.rb, line 13
def clear_extended_doc_fresh_cache
  ::CouchRest::ExtendedDocument.subclasses.each{|klass| klass.req_design_doc_refresh if klass.respond_to?(:req_design_doc_refresh)}
end
delete!() click to toggle source
# File lib/couchrest/support/couchrest.rb, line 7
def delete!
  clear_extended_doc_fresh_cache
  delete_old!
end
Also aliased as: delete_old!
delete_old!() click to toggle source
Alias for: delete!