mongoid/mongoid — pull request #3303 by gautamrege (2013-10-04 10:08:18+00:00)
Title: Mongoid master has re-introduced bug #2678

This fixed it.