Im trying to do a hasmany saveall() but it does not work.
I have a Model Carmodel hasMany CarmodelsImage When i try to save, the array passed is:
[CarmodelsImage] => Array ( [0] => Array ( [name] => teste [carmodel_id] => 1 ) )
In the controller i have $this->Carmodel->saveAll($this->request->data) but it does not work.
I need some help.
I know this question was already posted but I read every answers and it not work.
Thanks