Agile Web Development

Build it. Launch it. Love it.

validates_email_format_of

Validate various formats of email address against RFC 2822.

Usage

 class Person < ActiveRecord::Base
   validates_email_format_of :email
 end

Testing

To execute the unit tests run rake test.

The unit tests for this plugin use an in-memory sqlite3 database.

Resources

Subversion

Credits

Written by Alex Dunae (dunae.ca), 2006.

Vitals

Home http://code.dunae.ca/validates_email_format_of.html
Repository http://code.dunae.ca/validates_email_format_of
License Rails' (MIT)
Tags Tag_red address cpf emai email format
Rating (21 votes)
Owner Alex Dunae
Created 23 November 2006

Comments

  • Avatar
    27 November 2006

    The SVN url needs authentication

  • John Boyel
    28 November 2006

    I'd like to download this plugin, but like Tom said the SVN url needs auth.

  • 9 December 2006

    It should be working

  • Avatar
    schlick
    2 July 2007

    The correct URL for the repository is: http://code.dunae.ca/validatesemailformat_of/

    Also, I noticed that one of the tests are repeated: testshouldallowcustomerror_message.

    I tried to email the developer but couldn't find an email address.

  • Avatar
    8 August 2007

    @shlick - thanks for fixing that - one should never move house and move server all at the same time.

    I've removed the duplicate test case.

Add a comment