From 8f4cdace3851861292a47d48da052f600dac69fd Mon Sep 17 00:00:00 2001 From: Chris Anderson Date: Mon, 29 Sep 2008 22:57:52 -0700 Subject: [PATCH] documenting CouchRest::Model --- lib/couchrest/core/model.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/couchrest/core/model.rb b/lib/couchrest/core/model.rb index bd459c3..43bf9f7 100644 --- a/lib/couchrest/core/model.rb +++ b/lib/couchrest/core/model.rb @@ -155,7 +155,7 @@ module CouchRest # } # } # - # It can be queried by calling Post.by_date which accepts all valid options for CouchRest::Database#view + # It can be queried by calling Post.by_date which accepts all valid options for CouchRest::Database#view. In addition, calling with the :raw => true option will return the view rows themselves. By default Post.by_date will return the documents included in the generated view. def view_by *keys opts = keys.pop if keys.last.is_a?(Hash) opts ||= {}