Saving data with Model->saveAll() is really time savior. There is something specifics while saving multiple records of a single model.
The data provided from the form should be in the numerically indexed array of records like this:
Your code for saving this data with saveAll() should look like this:
Ok, but if you pass only
it won’t work. So if you want to save multiple records of a single model provide the proper data. It took me 1/2 hour to detect that this is the problem.
Of course this is written in the CookBook, but somebody need to read it carefully 😉