lib/mongoid/criterion/optional.rb in mongo_doc-0.4.2 vs lib/mongoid/criterion/optional.rb in mongo_doc-0.5.5
- old
+ new
@@ -60,10 +60,10 @@
# Adds a criterion to the +Criteria+ that specifies an id that must be matched.
#
# Options:
#
- # object_id: A +String+ representation of a <tt>Mongo::ObjectID</tt>
+ # object_id: A +String+ representation of a <tt>BSON::ObjectID</tt>
#
# Example:
#
# <tt>criteria.id("4ab2bc4b8ad548971900005c")</tt>
#