From 9772328948ceb9e75ad084ed0365e04adca5b11a Mon Sep 17 00:00:00 2001 From: Mani Tadayon Date: Tue, 15 Feb 2011 17:42:54 -0800 Subject: [PATCH] Fix typo in error message for Collection#group --- lib/mongo/collection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mongo/collection.rb b/lib/mongo/collection.rb index 0a1b69b..9d2b8bc 100644 --- a/lib/mongo/collection.rb +++ b/lib/mongo/collection.rb @@ -576,7 +576,7 @@ module Mongo if opts.is_a?(Hash) return new_group(opts) else - warn "Collection#group no longer take a list of paramters. This usage is deprecated." + + warn "Collection#group no longer take a list of parameters. This usage is deprecated." + "Check out the new API at http://api.mongodb.org/ruby/current/Mongo/Collection.html#group-instance_method" end