validates_as_email_address
adds support for validating the format/length of email addresses.
API
Bugs
Development
Testing
Source
-
git://github.com/pluginaweek/validates_as_email_address.git
Mailing List
Consistently reliable email address validations are difficult to find and hard to choose as there are far too many implementations in various programming languages. This plugins builds on Thijs van der Vossen’s validates_as_email by adding advanced validation option support and also validating the length of the email address.
class Person < ActiveRecord::Base validates_as_email_address :email, :on => :create end
Before you can run any tests, the following gem must be installed:
To run against a specific version of Rails:
rake test RAILS_FRAMEWORK_ROOT=/path/to/rails
-
Rails 2.0 or later
-
Cal Henderson - Parsing Email Adresses in PHP
-
Tim Fletcher - Ruby Translation
-
Thijs van der Vossen - validates_as_email