cakephp/cakephp — pull request #808 by calinseciu (2012-08-31 15:15:00+00:00)
Title: 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.