#777 ✓not-applicable
siplux

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

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Pages