-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 5.0.0
-
Component/s: None
-
Environment:- MongoDB 3.0.6
- Mongoid 5.0.0
- Mongo Ruby driver 2.1.1
In the above version combination fo Mongoid and the Ruby driver, there is a mismatch between the mapping of index option keys so that expire_after_seconds, drop_dups, and bucket_size are silently ignored (i.e. not actually sent to the database).
This is fixed in https://github.com/mongodb/mongoid/pull/4168.