couchrest_model/spec/couchrest/core
Brian Candler ec7848b783 Multiple database support for ExtendedDocument.
New optional parameters are available to select the database:

Mixins::DocumentQueries
  * get <id>, <db>
  * all :database => <db>
  * first :database => <db>

Mixins::Views
  * view <name>, :database => <db>
  * all_design_doc_versions <db>
  * cleanup_design_docs! <db>

Mixins::DesignDoc
  * refresh_design_doc now only updates the design_doc _id and removes _rev
  * call save_design_doc to save and update the design_doc
  * call save_design_doc_on <db> to save the design doc on a given
    database without modifying the model's design_doc object

Design (core/design.rb)
  * new method view_on <db>, ...

Bug fixes:
  * design_doc_slug in mixins/design_doc.rb was using an empty document
    to calculate the slug each time
  * method_missing in core/extended_document.rb now passes a block through
2009-03-27 11:27:37 +00:00
..
couchrest_spec.rb Add proxy support 2009-01-12 20:16:22 -08:00
database_spec.rb Remove CouchRest.move, CouchRest::Database#move and #move_doc, because these methods are no longer supported by CouchDB 2009-03-18 11:22:49 -05:00
design_spec.rb Multiple database support for ExtendedDocument. 2009-03-27 11:27:37 +00:00
document_spec.rb Remove CouchRest.move, CouchRest::Database#move and #move_doc, because these methods are no longer supported by CouchDB 2009-03-18 11:22:49 -05:00
server_spec.rb added autovalidation (auto_validate! in your ExtendedDocument) and extracted some extlib stuff so we will soon be able to remove the dependency. 2009-02-05 17:06:12 -08:00