amco / dolly

Not an ORM for CouchDB in rails.
8 stars 3 forks source link

Add ability to define/override primary key property #69

Open javierg opened 9 years ago

javierg commented 9 years ago

CouchDb recommends that applications should define the id by themselves. We need to add a primary_key method on the Document definition, to make this possible.

seancookr commented 9 years ago

I think this is a feature, and not to be included in the 1.0 stable