minor: links to internal docs

This commit is contained in:
Kyle Banker 2010-11-03 17:50:08 -04:00
parent 68af3dbe8f
commit 4907150f8d
2 changed files with 8 additions and 3 deletions

View File

@ -2,7 +2,13 @@
This is the 10gen-supported Ruby driver for [MongoDB](http://www.mongodb.org). 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: for much more:
require 'rubygems' require 'rubygems'

View File

@ -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). 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 #### Dropping a Database
connection.drop_database('database_name') 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: 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: