Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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