lock mongoid version to ~> 3.1.0