From 7b0a35b631242a754b218695d636e1dba6e84bfb Mon Sep 17 00:00:00 2001 From: Nicholas Young Date: Sun, 3 Jul 2011 14:07:20 -0700 Subject: [PATCH] A small change to the README. Corrected how to instantiate the GridFS object. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ea21b7d..2cb1577 100644 --- a/README.md +++ b/README.md @@ -109,9 +109,10 @@ for details, and see examples/gridfs.rb for code that uses many of the Grid features (metadata, content type, seek, tell, etc). Examples: + # Write a file on disk to the Grid file = File.open('image.jpg') - grid = Grid.new(db) + grid = Mongo::Grid.new(db) id = grid.put(file) # Retrieve the file