public function validateUniques(array $rules = array(), array $customMessages = array()) {
		$rules = $this->buildUniqueExclusionRules($rules);
		return $this->validate($rules, $customMessages);
	}
public function validateUniques(array $rules = array(), array $customMessages = array()) {
		$rules = $this->buildUniqueExclusionRules($rules);
		return $this->validate($rules, $customMessages);
	}
public function validateUniques ( array $ rules = array ( ) , array $ customMessages = array ( ) ) { $ rules = $ this -> buildUniqueExclusionRules ( $ rules ) ; return $ this -> validate ( $ rules , $ customMessages ) ; }
Validates a model with unique rules properly treated.

@param array $rules Validation rules
@param array $customMessages Custom error messages
@return bool
@see SmartModel::validate()
Validates a model with unique rules properly treated .