
Auto-Validations with Email property causes duplicate errors
Reported by siplux | January 18th, 2009 @ 09:41 PM
Given an invalid email address, setting the property as such in
each case produces the result underneath:
property :email, String
@errors={:email=>["Email must be between 6 and 100 characters long", "Email has an invalid format"]}
property :email, String, :format => :email_address
@errors={:email=>["Email must be between 6 and 100 characters long", "Email has an invalid format", "Email has an invalid format"]}
Comments and changes to this ticket
-
-
Dan Kubb (dkubb) January 19th, 2009 @ 11:43 PM
- State changed from unconfirmed to not-applicable
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »