couchrest_model/lib
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
couchrest.rb fixed the subclassing of ExtendedDocument classes 2009-03-19 18:53:17 -07:00