couchrest_model/spec/couchrest/more
Brian Candler c4b49baecf ClassProxy provides class-level methods on a dynamically chosen database.
Examples:

  db = CouchRest::Database.new(...)
  articles = Article.on(db)

  articles.all { ... }
  articles.by_title { ... }

  u = articles.get("someid")

  u = articles.new(:title => "I like plankton")
  u.save    # saved on the correct database
2009-03-27 13:42:49 +00:00
..
casted_extended_doc_spec.rb spec'd casted extended document 2009-03-02 21:15:02 -08:00
casted_model_spec.rb corrected some spec dependencies 2009-03-08 14:27:30 +00:00
extended_doc_attachment_spec.rb corrected some spec dependencies 2009-03-08 14:27:30 +00:00
extended_doc_spec.rb all specs pass against couchdb trunk 2009-03-15 13:00:47 -07:00
extended_doc_subclass_spec.rb fixed the subclassing of ExtendedDocument classes 2009-03-19 18:53:17 -07:00
extended_doc_view_spec.rb ClassProxy provides class-level methods on a dynamically chosen database. 2009-03-27 13:42:49 +00:00
property_spec.rb corrected some spec dependencies 2009-03-08 14:27:30 +00:00