spadefoot/kohana-orm-leap — Issue #25: ORM insert not working
Author: matesko
Created: 2012-03-08 15:24:20+00:00
State: open

take simple model (id is autoincrement field):
```
$this->fields = array(
'id' => new DB_ORM_Field_Integer($this, array()),
'tekst' => new DB_ORM_Field_String($this, array())
);
```

this code does not insert:
```
$model = DB_ORM::model('testt');
$values = array(
'tekst' => time());
$model->load($values);
$model->save();
```

if i set id nothing happens also.

if id exists update is executed.