Module: ActiveModel

Defined in:
lib/validates_as_email.rb

Overview

Validation helper for ActiveRecord derived objects that cleanly and simply allows the model to check if the given string is a valid email address.

This code does not comply with any RFC as I don’t find usual to do so, if you don’t agree with me, please read: www.dominicsayers.com/isemail/

Original code by Ximon Eighteen <[email protected]> which was heavily based on code I can no longer find on the net, my apologies to the author!

Defined Under Namespace

Modules: Validations