couchrest_model/lib/couchrest/mixins
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
..
attachments.rb moved stuff around and cleaned up some deprecation notices [save/save_doc] 2009-02-02 16:10:07 -08:00
callbacks.rb Namespace Extlib versions of class_inheritable_accessor methods with extlib_prefix, as done in Wycats' Rails fork, so that their inclusion won't overwrite existing ActiveSupport implementations, if present. Check for existence of Class extensions on a per-method basis. 2009-03-19 16:59:22 -07:00
design_doc.rb Multiple database support for ExtendedDocument. 2009-03-27 11:27:37 +00:00
document_queries.rb Multiple database support for ExtendedDocument. 2009-03-27 11:27:37 +00:00
extended_attachments.rb fixed the uuid count for the latest version of couchdb 2009-02-25 00:22:11 -08:00
extended_document_mixins.rb bumped release to 0.14 after implementing the new features in a real life app. 2009-02-17 17:59:31 -08:00
properties.rb fixed the subclassing of ExtendedDocument classes 2009-03-19 18:53:17 -07:00
validation.rb fixed the subclassing of ExtendedDocument classes 2009-03-19 18:53:17 -07:00
views.rb Multiple database support for ExtendedDocument. 2009-03-27 11:27:37 +00:00