get('new_db'); } public function saveOrFail($runValidation = true, $attributeNames = null){ if(!$this->save($runValidation, $attributeNames)){ throw new Exception(implode(',',$this->getFirstErrors())); } return true; } }