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
July 3, 2014 9:57am
無