mongoid/mongoid — pull request #1980 by i0rek (2012-05-04 14:52:40+00:00)
Title: Document.last considers default scope.

Fixes #1974. First attempt was here: #1978.
Now without loading everything in memory :).