Sha256: 1d507e67ca176df8fa05f6b982bfddf7c1dc9476edaeddb6c9da7b424160a5a8
Contents?: true
Size: 512 Bytes
Versions: 6
Compression:
Stored size: 512 Bytes
Contents
# This is a shim for keeping backwards compatibility. # See the discussion in: https://github.com/lisinge/valid_email2/pull/79 class EmailValidator < ValidEmail2::EmailValidator def validate_each(record, attribute, value) warn "DEPRECATION WARNING: The email validator from valid_email2 has been " + "deprecated in favour of using the namespaced 'valid_email_2/email' validator. " + "For more information see https://github.com/lisinge/valid_email2#upgrading-to-v200" super end end
Version data entries
6 entries across 6 versions & 1 rubygems