ruby-has-secure-token

Unique creation for random tokens for any model in ruby on rails
  https://github.com/robertomiranda/has_secure_token
  0
  no reviews



The gems intends to provide an easy way to generate unique random tokens for any model in ruby on rails. SecureRandom::base58 is used to generate the 24-character unique tokens, so collisions are highly unlikely.

Backport of ActiveRecord::SecureToken 5 to AR 3.x and 4.