RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

New rails plugin for easily adding emailed verifications to your models

Fixie Verifications is a Rails plugin that lets you add emailed verifications to your models. From the README:

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

</code>

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in