mongoid/moped — pull request #59 by Winslett (2012-08-13 19:58:48+00:00)
Title: Quit using "admin" database by default when running getlasterror

When using the "admin" database by default in environments with authentication, getlasterror fails hard. Thus, use the current database.