Module | DataMapper::Validations::Format::Email |
In: |
lib/dm-validations/formats/email.rb
|
EmailAddress | = | begin if (RUBY_VERSION == '1.9.2' && RUBY_ENGINE == 'jruby' && JRUBY_VERSION <= '1.6.3') || RUBY_VERSION == '1.9.3' |
Almost RFC2822 (No attribution reference available).
This differs in that it does not allow local domains (test@localhost). 99% of the time you do not want to allow these email addresses in a public web application. |