mongoid_token
mongoid_token copied to clipboard
Mongoid 6 support
Is there any plan/timeline to add support for mongoid 6 and rails 5 ?
In Mongoid 6 the token index creation is failing, the syntax should be (with two hashes as param) like this
self.index({ options[:field_name] => 1} , {unique: true})
The PR #77 is here 😅
@ritxi thank you very much for that PR and for you updating your own fork. Very helpful!