mongoid_token icon indicating copy to clipboard operation
mongoid_token copied to clipboard

Mongoid 6 support

Open alaouy opened this issue 8 years ago • 3 comments

Is there any plan/timeline to add support for mongoid 6 and rails 5 ?

alaouy avatar Oct 24 '16 13:10 alaouy

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})

Startouf avatar Dec 09 '16 16:12 Startouf

The PR #77 is here 😅

ritxi avatar Aug 07 '17 07:08 ritxi

@ritxi thank you very much for that PR and for you updating your own fork. Very helpful!

ryana avatar Jul 05 '20 15:07 ryana