Registration





$(document).ready(function() { var validator = $("#user_new").validate({ rules: { 'user[email]': "required", 'user[name]': "required", 'user[password]': { required: true, minlength: 6 }, 'user[password_confirmation]': { required: true, minlength: 6, equalTo: '#user_password' } } }); });