couchpotato

How to stop thinking "relationally"

At work, we recently started a project using CouchDB (a document-oriented database). I've been having a hard time un-learning all of my relational db knowledge. I was wondering how some of you overcame this obstacle? How did you stop thinking relationally and start think documentally (I apologise for making up that word). Any suggest...

Adding custom views using couch_potato and simply_stored ?

Hello, I'm building a rails app above couchdb and decided to try the couch_potato and simply_stored gems as they seem add a nice feature set above the rest api and put the couchdb development 'on the rails'. From what I can see SimlyStored/Couch works above the couch_potato layer, so from my understanding, the basic couch_potato featur...

How to delete document from CouchDB using CouchPotato?

I have problems finding documentation on how to delete a document from CouchDB using CouchPotato. As fare as I know I have to set the property _deleted = true. When I want to get documents that is not deleted, I have tried to add a condition to my class like this: view :item, :key => [:userid, :date], :conditions => 'doc._deleted === ni...