Change mongoid-4.0.alpha2 to mongoid-4.0.0.beta1