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
August 9, 2012 10:28am
無