POSTing to /_uuids fails
Reported by Seth Ladd | October 23rd, 2008 @ 04:52 PM
Just installed the couchrest gem and running it against couchdb, compiled from the 0.8.1 source.
Every time I try to save a document without an ID, it attempts to to POST to /_uuids This returns a 404
I can't find reference to this _uuids resource in the CouchDB wiki.
Thanks for your help,
Seth
Comments and changes to this ticket
-
J. Chris A. October 24th, 2008 @ 12:07 PM
- State changed from new to wontfix
The code already protects against the error responses from CouchDB on the UUIDs request, and leaves out the _id in that case, for CouchDB to fill in.
The UUIDs are cached locally in batches of 1000, so unless you are creating a new CouchRest::Server for each test case, this should not have a detrimental effect on performance.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
"CouchDB, close to the metal." <a href="http://github.com/jchris/couchrest/tree/master">CouchRest</a> is a RESTful layer for accessing CouchDB, based off CouchDB's included Javascript reference client. CouchRest also includes helpers for running large queries etc. There is also a base class for ActiveRecord / Datamapper style ORM, called CouchRest::Model.