actually the version of Mongoid should be greater than or equal to 2.3.0