public
Description: Lets you add emailed verifications to your ActiveRecord model with one line of code
Homepage:
Clone URL: git://github.com/joevandyk/fixie_verifications.git
Joe Van Dyk (author)
Sun Dec 28 09:37:38 -0800 2008
commit  0bc63fd49805ae2f1d708be7c90a4b94d6788dba
tree    81e11a709f848fc2a1bb78dd35d16486a44e8fd4
parent  aaa3bc26361232620a242838e73a43c2579a6616
README
FixieVerifications
==================

Easily add emailed verification to your application.  
Needs Rails 2.2 or Ruby 1.8.7 (for SecureRandom).


Example
=======

class User < ActiveRecord::Base
  has_verification_number 
end

u = User.create

# An email with a random code is sent to joe@fixieconsulting.com.
# Say the code is "12345"
u.needs_verification!("joe@fixieconsulting.com")  

# Either of these work
Verification.verify! "12345"
u.verify! "12345"

u.verified? # returns true

Copyright (c) 2008 Joe Van Dyk, Fixie, released under the MIT license