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

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -