From 4907150f8d2ab79fba78335b742646e3c0a4872e Mon Sep 17 00:00:00 2001 From: Kyle Banker Date: Wed, 3 Nov 2010 17:50:08 -0400 Subject: [PATCH] minor: links to internal docs --- README.md | 8 +++++++- docs/TUTORIAL.md | 3 +-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3d5ae7e..f841310 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,13 @@ This is the 10gen-supported Ruby driver for [MongoDB](http://www.mongodb.org). -Here's a quick code sample. See the [MongoDB Ruby Tutorial](http://www.mongodb.org/display/DOCS/Ruby+Tutorial) +This documentation includes other articles of interest, include: + +1. [A tutorial](file.TUTORIAL.html). +2. [History](file.HISTORY.html). +3. [Credits](file.CREDITS.html). + +Here's a quick code sample. Again, see the [MongoDB Ruby Tutorial](file.TUTORIAL.html) for much more: require 'rubygems' diff --git a/docs/TUTORIAL.md b/docs/TUTORIAL.md index 1acad01..fa164c4 100644 --- a/docs/TUTORIAL.md +++ b/docs/TUTORIAL.md @@ -1,4 +1,4 @@ -# Tutorial +# MongoDB Ruby Driver Tutorial This tutorial gives many common examples of using MongoDB with the Ruby driver. If you're looking for information on data modeling, see [MongoDB Data Modeling and Rails](http://www.mongodb.org/display/DOCS/MongoDB+Data+Modeling+and+Rails). Links to the various object mappers are listed on our [object mappers page](http://www.mongodb.org/display/DOCS/Object+Mappers+for+Ruby+and+MongoDB). @@ -52,7 +52,6 @@ If you're trying to connect to a replica set, see [Replica Sets in Ruby](http:// #### Dropping a Database connection.drop_database('database_name') - #### Authentication (Optional) MongoDB can be run in a secure mode where access to databases is controlled through name and password authentication. When run in this mode, any client application must provide a name and password before doing any operations. In the Ruby driver, you simply do the following with the connected mongo object: