Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which CouchDB adapter for Ruby should I use?

Some of the options I've found are

  • ActiveCouch
  • CouchREST
  • Couch Potato
  • RelaxDB
  • couch_foo

I prefer projects that are on GitHub, since that makes it easiest for me to fork and push fixes. All of those fit that requirement.

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

Lastly, they all seem to be fairly actively maintained (with the possible exception of couch_foo).

So I guess it comes down to the (admittedly and unfortunately) subjective: has anyone had good or bad experiences with any of them?

like image 943
James A. Rosen Avatar asked Jul 28 '09 17:07

James A. Rosen


2 Answers

ActiveCouch hasn't been made compatible with CouchDB 0.9.x and there's been some criticism that it doesn't model CouchDB semantics that well (I basically wrote it for the reason that you mentioned - that I was familiar with ActiveRecord semantics)

I think the most feature-complete and actively developed one is CouchRest.

like image 63
Arun Avatar answered Oct 10 '22 16:10

Arun


I don't have an answer to the main question, but I did see George Palmer deliver a talk on CouchDB and couch_foo at Rails Underground on 24-Jul-2009, so it's probably fair to say that he's still active.

I don't think video recordings were made of the sessions in the room where George spoke, which is a shame, but they may just not be prepared yet. Try checking here.

like image 1
Mike Woodhouse Avatar answered Oct 10 '22 15:10

Mike Woodhouse