Commit graph

9 commits

Author SHA1 Message Date
Matt Aimonetti 6b2e5f84ad Started the refactoring work on couchrest.
* A server can have multiple defined available databases set to be used by documents (think DM repos)
* A server can have a default database so documents can easily share the same db connection
* Let a document class have a default database to use
* Give access to a document uri
* extracted some of the document features to a mixin
2009-01-28 22:55:42 -08:00
Matt Aimonetti fda5be213a slight change of API, CR::Document now uses <action>_doc instead of <action>, also added #create! and #recreate! to Document instances 2009-01-28 18:16:55 -08:00
Matt Lyon a0a422b779 add move and copy support to CouchRest::Document instances 2009-01-16 11:31:42 -08:00
Antony Blakey 36945d5a13 Add bulk save deferal option to db.delete / doc.destroy, just like on save. 2009-01-09 20:29:08 +10:30
Nolan Darilek 84382d8af4 Removed model create/update callbacks and integrated with new bulk save infrastructure. 2008-12-15 10:27:53 -06:00
Chris Anderson 19a70ffd7d got view queries happening correctly 2008-11-21 16:21:20 -08:00
Chris Anderson 32ffbfe019 more notions 2008-11-20 17:03:06 -08:00
Chris Anderson 0769c2690f on the road toward design docs 2008-11-08 16:28:58 -08:00
Chris Anderson 0ce716518f factor out couchrest::document 2008-11-03 22:52:50 -08:00