Closed EdgarOrtegaRamirez closed 9 years ago
Thanks for the contribution, @EdgarOrtegaRamirez I like the changes in generate_secure_id
, but at the same time I would prefer to keep uniqueness validation to ensure integrity (just in case if we decide to allow to edit secure_id
in future).
@andreychernih done
Every time a
Box
is created, it will try to generate a non-duplicatesecure_id
. This will prevent the app from crashing in the case that thesecure_id
is duplicate.