couchrest_model/lib/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_model.rb Started working on casted models, basic functionalities are now in. 2009-02-09 11:20:23 -08:00
extended_document.rb ClassProxy provides class-level methods on a dynamically chosen database. 2009-03-27 13:42:49 +00:00
property.rb removed CouchRest::Model, added more specs and fixed a bug with casted CR::ExtendedDocument 2009-02-24 22:51:13 -08:00