I'm having a problem with the transactions, can't get them to work. I'm trying to do this:
Code:
$user = new User();
$user->username = $this->input->post('username');
$user->trans_begin();
$user->save();
var_dump($user->trans_status()); // This is NULL, even though the validations fail
if($user->trans_status() === false){
$user->trans_rollback();
}else {
echo 'everything ok';
$user->trans_commit();
}