Updating dependency to 4.0.0.alpha1: See change https://github.com/mongoid/mongoid/commit/f8b439dd9a59b769389aff81a42502cd857cf7fa