Which CouchDB adapter for Ruby should I use?

Some of the options found

I prefer projects that are on GitHub, as this makes it easier for me to unlock and fix. All of them meet this requirement.

I'm used to Rails, so I like things that act like ActiveRecord models. On the other hand, I don’t want too much between me and Couch - there is a reason why I use this as my database, after all.

Finally, they are all quite actively supported (with the possible exception of couch_foo ).

So, I think it comes down to (admittedly and unfortunately) subjective: did anyone have good or bad experiences with any of them?

+6
ruby ruby-on-rails couchdb
source share
3 answers

ActiveCouch was not compatible with CouchDB 0.9.x, and there was some criticism that it does not model CouchDB semantics very well (I basically wrote it for the reason you talked about - that I was familiar with ActiveRecord semantics)

I think the most fully featured and actively developed is CouchRest.

+1
source share

I have no answer to the main question, but I saw George Palmer deliver talk on CouchDB and couch_foo to Rails Underground on July 24, 2009, so it's probably fair to say that he is still active.

I don’t think the video was taken from the sessions in the room where George said it was a shame, but they might just not be prepared yet. Try checking here .

+1
source share

It really depends on the system you are building. CouchDB is not designed to set up a relational data system, so getting it to act like an ActiveRecord (and thus inject relationships) is like sticking a square anchor in a round hole. CouchPotato is nice and easy to use, but (as is) only allows you to connect to a single CouchDB server. CouchREST is my personal favorite of the bunch and is very easy to use.

0
source share

All Articles