From 90f460641e1fda627987c847fa5a985b0cebe959 Mon Sep 17 00:00:00 2001 From: Matt Aimonetti Date: Wed, 28 Jan 2009 23:04:22 -0800 Subject: [PATCH] updated readme file --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c42f06b..eeb0cfc 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Quick Start: # with !, it creates the database if it doesn't already exist @db = CouchRest.database!("http://127.0.0.1:5984/couchrest-test") - response = @db.save({:key => 'value', 'another key' => 'another value'}) + response = @db.save_doc({:key => 'value', 'another key' => 'another value'}) doc = @db.get(response['id']) puts doc.inspect @@ -47,7 +47,7 @@ Bulk Save: Creating and Querying Views: - @db.save({ + @db.save_doc({ "_id" => "_design/first", :views => { :test => {