couchdb - Ruby on rails & Couchrest model: use existing views -
i'm having issues couchdb , couchrest model.
i have running system existing views in couchdb (they working fine). want use them in ruby on rails project couch rest model. want define them with:
design view :by_name end
everytime run code designdocument overwritten default views couchrest model.
does know how "use" them, without changing in designdocument of database?
thanks lot!
according couchrest model docs: http://www.couchrest.info/model/view_objects.html
it has configuration option: auto_update_design_doc, set true default.
when view requested quick design document sent ensure date latest version defined in model.
setting option false can use existing views. need deal view updating yourself.
Comments
Post a Comment