Rails 6.1 introduces a setting for the length of a secure token, e.g.
has_secure_token :auth_token, length: 36
https://api.rubyonrails.org/cl