lib/mongo_doc/contexts/mongo.rb in mongo_doc-0.3.2 vs lib/mongo_doc/contexts/mongo.rb in mongo_doc-0.4.0
- old
+ new
@@ -38,10 +38,10 @@
def count
@count ||= collection.find(selector, options).count
end
# Determine if the context is empty or blank given the criteria. Will
- # perform a quick has_one asking only for the id.
+ # perform a quick find_one asking only for the id.
#
# Example:
#
# <tt>context.blank?</tt>
def empty?