minor: core doc fix

This commit is contained in:
Kyle Banker 2010-02-01 21:55:44 -05:00
parent 9b6ce4ba7f
commit 65ac333464
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<h3>Core docs:</h3>
<ul class="see">
<% for tag in object.tags(:core) %>
<li><%= linkify('http://dochub.mongodb.org/core/' + tag.name, tag.text || tag.name.capitalize) %></li>
<li><a href='<%= "http://dochub.mongodb.org/core/#{tag.name}" %>' name='<%= tag.text %>'><%= tag.name.capitalize %></a></li>
<% end %>
</ul>
<% end %>

View File

@ -127,7 +127,7 @@ module Mongo
# @raise [RuntimeError]
# if given unknown options
#
# @core find
# @core find find-instance_method
def find(selector={}, opts={})
fields = opts.delete(:fields)
fields = ["_id"] if fields && fields.empty?