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

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

Open
jpr5 opened this issue Sep 24, 2012 · 2 comments
Open

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

jpr5 opened this issue Sep 24, 2012 · 2 comments

Comments

@jpr5
Copy link
Member

jpr5 commented Sep 24, 2012

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
@jpr5
Copy link
Member Author

jpr5 commented Sep 25, 2012

Failing test at jpr5@23f9af5

@tillsc
Copy link
Contributor

tillsc commented Jan 2, 2015

There is a pull request addressing this issue: #71

Could you vote for the pull request and close this issue if the solution is ok for you?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants