Please sign in to comment.
Add foreignKey to whitelist in saveAssociated()
Association's foreignKey doesn't get saved when saving hasMany associations since it's not in the model's whitelist after validation. This happens if you don't send the foreignKey with the associated records data.
- Loading branch information...