Note the following compatibility matrix to determine if Mongoid is
compatible with your Ruby version and MongoDB server. Note that Mongoid
is currently compatible with Rails 5 and depends on ActiveModel 5.1 or higher,
and thus requires Ruby 2.2.2 or higher.