mongodb/docs — pull request #702 by FrancescaK (2013-03-04 20:02:47+00:00)
Title: confuse Collection with database 

Inconsistency with example:

Original gave an ensureIndex example with a "records" collection. Then used the same name as the "records" collection as the name of the database. A bit confusing. Might be better to keep names consistent if people plan to work through the docs IMHO