All pastes #925957 Raw Edit

Untitled

public text v1 · immutable
·published 2008-03-03 13:18 UTC
rendered paste body
    			$this->SaleDetail->unbindModel(array('belongsTo' => array('Product')));
    			$this->SaleDetail->unbindModel(array('belongsTo' => array('Sale')));
    			
    			//and update the field
		$this->SaleDetail->saveField('collected', 'true');