couchrest_model/spec
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
..
couchrest ClassProxy provides class-level methods on a dynamically chosen database. 2009-03-27 13:42:49 +00:00
fixtures fixed the uuid count for the latest version of couchdb 2009-02-25 00:22:11 -08:00
.gitignore move tmp dir for specs; 2009-01-08 22:18:06 -08:00
spec.opts simplified json include 2008-05-24 12:28:42 -07:00
spec_helper.rb removed CouchRest::Model, added more specs and fixed a bug with casted CR::ExtendedDocument 2009-02-24 22:51:13 -08:00