Hello,
I have a table=> USERS where the EMAIL column is unique.
How can i sepcify a rule to ensure that this constraint is not violated ?
I tried using this , but, it returns me a mysql unique key constraint exception
array(‘email’,‘exist’,‘className’=>‘Users’, ‘attributeName’ => ‘EMAIL’),
thanks
Arvind