From beea7d13200cd042111afad339a70f39f0a3aed0 Mon Sep 17 00:00:00 2001 From: Brian Alexander Date: Tue, 29 May 2012 15:05:50 -0600 Subject: [PATCH] Fix copy-paste mistake in doc comment --- lib/mongo/db.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mongo/db.rb b/lib/mongo/db.rb index 9dc872a..5e75b28 100644 --- a/lib/mongo/db.rb +++ b/lib/mongo/db.rb @@ -438,7 +438,7 @@ module Mongo # # @return [True] returns +true+ on success. # - # @raise MongoDBError if there's an error renaming the collection. + # @raise MongoDBError if there's an error dropping the index. def drop_index(collection_name, index_name) oh = BSON::OrderedHash.new oh[:deleteIndexes] = collection_name