cakephp/cakephp — pull request #806 by calinseciu (2012-08-30 14:58:55+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.

I MADE A MISTAKE BY SUBMITTING IT TO THE MASTER BRANCH AND NOT 2.3. I'M VERY SORRY !