amco / dolly

Not an ORM for CouchDB in rails.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add ability to define/override primary key property

javierg opened this issue · comments

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.

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