gas-orm
gas-orm copied to clipboard
Code Igniter 3 - error on save with validation
Hi guys, I open a more specific issue. I created a simple user model (like the example one), but when I try to save it with true parameter the model is not saved to db and errors array is empty. Here is the code:
$User = new \Model\User(); $User->name = 'Davide'; $User->save(); print_R($User->errors);
Thanks, Davide