Skip to content
This repository was archived by the owner on Apr 17, 2018. It is now read-only.
This repository was archived by the owner on Apr 17, 2018. It is now read-only.

email validation doesn't think '[email protected]' is wrong #60

@jpr5

Description

@jpr5
class User
  include ::DataMapper::Resource

  property :id, Serial
  property :email, String

  validates_format_of :email, :as => :email_address

end

User.create(:email => '[email protected]') # => succeeds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions