mongoid_token icon indicating copy to clipboard operation
mongoid_token copied to clipboard

A little random, unique token generator for Mongoid documents.

Results 13 mongoid_token issues
Sort by recently updated
recently updated
newest added

- Mongoid 6 & 7 upgrade - Remove alias_method_chain to make it compatible with rails 5.1 or above

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

Is it possible to remove "i", "l", "o", "0" characters that introduce common human error "iIlLOo0"

I am often running into random errors with Mongoid::Token, it seems that some of my constants are tried to be resolved from Mongoid::Token::Collisions scope. Like `uninitialized constant Mongoid::Token::Collisions::ProfilesController` `uninitialized constant...

https://github.com/mongodb/mongoid/releases

Motivation for this is if you are putting the token on an embedded document mongoid gives a warning and will not apply it anyway, so I have one correctly defined...

Since upgrading to Mongoid 4.0.0 the :safe option is no longer valid, instead :write should be used. This change introduces :write with corresponding propagation semantics. CHANGELOG for 4.0.0 https://github.com/mongodb/mongoid/blob/master/CHANGELOG.md#400

Hey @thetron, I have some code which clones a class, but for token classes I get an error. Repro steps: ``` ruby require 'mongoid' require 'mongoid_token' class Person include Mongoid::Document...