mongoid/moped — pull request #144 by jonhyman (2013-01-31 05:39:51+00:00)
Title: Adding support for $maxScan

Adds support for using $maxScan in a Moped query.

Also fixes a bug where applying a sort before another _addSpecial operator could remove that operator (added spec for the $maxScan case, though it exists for $hint too; let me know if you want me to write a test for that case as well)