binding params

I don’t understand what I’m doing wrong:




$rantId = 1;

		$rant = Rant::model()->updateCounters(

			array('views'=>1),

			array('condition' => "rantId = :rantId"),

			array('params' => array(':rantId' =>$rantId))

		);



returns the following error:

CDbCommand failed to execute the SQL statement: SQLSTATE[HY093]: Invalid parameter number: no parameters were bound




Rant::model()->updateCounters(

  array('views' => 1),

  'rantId = :rantId',

  array(':rantId' => $rantId),

);