more restrictive on mongoid version