I'm learning cakephp for some time and it's very nice, I'm using the cake bake to create my classses.
Suppose I have a animal entity and a food entity and they have a many to many relation, and I'm on the add animal view, how can I add the option to add 3 new foods to this animal on this view? and what should the controller code look like in the add funciton?