Quick Tip - Model::save() isn't Model::saveAll()
Saving multiple records that are related to a primary record?
1
| |
That won't save your related model data. Just the primary model (Page Model in this case).
1
| |
This will. Have fun saving your page meta data.
Note: I added the validate first so that everything would be validated (who doesn't want that?).
Discussion