RubyGems.org

da-has_token

1.0.1

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.)

installgem install da-has_token
Authors

Stefan Daschek, Moritz Kobrna

874 total downloads 455 for this version
Owners

Ecacedea7abf1b7c6876f13c73d39653

Gemfile
gem "da-has_token", "~> 1.0.1"
Versions
  1. 1.0.1 August 9, 2012
  2. 1.0.0 August 9, 2012
Runtime Dependencies
  1. rails ~> 3.0
Development Dependencies
  1. sqlite3 >= 0