In Kohana 3.2, when you overwrite the function 'values' of the ORM, and then do something like:
public function values(array $values, array $expected = NULL) {
if($values['a_column'] == "") $values['a_column'] = NULL;
return parent::values($values);
}
the NULL value will be transformed into an empty string anyway, which is not the behaviour I want. Anyone knows a workaround? I couldn't find anything in the documentation or on the web...