Temporary Linkable plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install git://github.com/auser/temporarily-linkable.git
class User < ActiveRecord::Base temporarily_linkable end @user.create_temporary_link # account_controller def retrieve @user = User.find_by_temporary_token(params[:token]) end
You can also find the user by active temporary tokens with
User.find_by_active_temporary_token(params[:token])
The temporary links expire after one week by default, but the plugin does not require you to handle the expiration date.
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | Back in time (1 older version) | Last edited by: scott, 3 months ago

