validates_email_format_of
- Filed under Security & Protection, ActiveRecord, and Miscellaneous
- Developed by Alex Dunae (Alex)
= Validates email format 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 <tt>rake test</tt>. The unit tests for this plugin use an in-memory sqlite3 database. == Resources
Subversion * http://code.dunae.ca/validates_email_format_of == Credits Written by Alex Dunae (dunae.ca), 2006.
Last updated: September 07, 2007 17:40


