Temporary Linkable plugin

Plugin details

Temporary link plugin. Easily create temporary links that expire after use or a time frame

Repositorygit://github.com/auser/temporarily-linkable.git Author Ari Lerner Tags temporary links, signup, beta signups, Login, reset, Passwords, Database, Admin LicenseMIT

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 documentation

Edit plugin | Back in time (1 older version) | Last edited by: scott, 3 months ago