Making design doc thread safe for checking status of design doc
This commit is contained in:
parent
77cb8160c7
commit
5fd1c3903b
7 changed files with 43 additions and 57 deletions
|
@ -336,7 +336,7 @@ module CouchRest
|
|||
end
|
||||
|
||||
def clear_extended_doc_fresh_cache
|
||||
::CouchRest::ExtendedDocument.subclasses.each{|klass| klass.design_doc_fresh = false if klass.respond_to?(:design_doc_fresh=) }
|
||||
::CouchRest::ExtendedDocument.subclasses.each{|klass| klass.req_design_doc_refresh if klass.respond_to?(:req_design_doc_refresh)}
|
||||
end
|
||||
|
||||
def uri_for_attachment(doc, name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue