Use `has_token` in your model to automatically generate a unique token on before_create. (Model needs to have a `token` field with type string.)
Stefan Daschek, Moritz Kobrna
June 29, 2023 12:55pm
無