Example that validates email addresses using the RFC2822 specification in a ActiveModel::EachValidator