Simple has_token-Plugin for Rails 3 and Active Record.