Fix typo in error message for Collection#group
This commit is contained in:
parent
c11e875813
commit
9772328948
|
@ -576,7 +576,7 @@ module Mongo
|
||||||
if opts.is_a?(Hash)
|
if opts.is_a?(Hash)
|
||||||
return new_group(opts)
|
return new_group(opts)
|
||||||
else
|
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"
|
"Check out the new API at http://api.mongodb.org/ruby/current/Mongo/Collection.html#group-instance_method"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue