CouchDB + Datamapper + View = no ids
I am using couchdbx v. 0.8.1 and datamapper 0.9.8. I've written some simple views, copied some of the other examples. If I request views in the browser, they return an id. If I ask them to use datamapper in ruby, I don't get the ID. I have worked on the internet many times, worked on IRC, and looked through the google and datamapper google groups. I tried to downgrade my datamapper and couchdb. Nothing. Does anyone else have this problem?
I see there is a couchdb adapter for datamapper (dm-couchdb-adapter) but I am not familiar with it. Are you sure you need to use ORM to access CouchDB? There are several ruby โโlibraries that might be better suited for accessing CouchDB, for example. CouchRest .
You should notice that the Google group for CouchDB is now dead. You should try asking on the users@couchdb.apache.org mailing list. These are the archives: Finished ; Incubator There are many people who have experience using CouchDB with Ruby and should be able to point you in the right direction.
source to share