Your name[["validates_presence_of",{"message":"Please enter your name."}],["validates_length_of",{"maximum":100,"too_long":"Your name must be shorter than 100 characters.","allow_nil":true}]]
Email[["validates_presence_of",{"message":"Please enter your email address."}],["validates_length_of",{"maximum":100,"too_long":"Your email address must contain between 5 and 100 characters.","allow_nil":true}],["validates_email_format_of",{"message":"Your email address is not properly formatted. Mind giving it another shot?"}],["validates_uniqueness_of",{"client_can_validate":true,"exists_url":"/users/exists?email=","message":"The email address you entered is being used by another member. Please try a different address."}]]
Password[["validates_presence_of",{"message":"Please enter your password."}],["validates_length_of",{"minimum":4,"maximum":40,"too_short":"Your password must contain between 4 and 40 characters.","too_long":"Your password must contain between 4 and 40 characters.","allow_nil":true}],["validates_format_of",{"with":/^[a-zA-Z0-9_-]*?$/,”message”:”Your password may contain only letters, numbers, underscores, and hyphens. No emoticons, please. :p”}]]
Confirm password[["validates_presence_of",{"message":"Please confirm your password."}]]
I want to receive the Walnut Creek weekly newsletter and updates about Patch!
By clicking Sign up, you agree to the Terms of Use and Privacy Policy
Related posts:
- Police Host Free Emergency Preparedness Fair This Saturday
- Week In Review: Earl Skips Town, An Investigation Continues, Mosquitoes are …
- Video Conference: Hurricane's Impact On Town Likely Minor
- Are You Prepared?: Two Cities Get Ready for 'The Big One …
- Hurricane Earl Fizzles but Newtown is Prepared
