Thank you all for your help, There were many good suggestions, some of
which helped optimize my code.
However the bug boiled down to something stupid (of course). I created
my the association for my ProjectTask model wrong in my Schedule
model. It should *not* have been pluralized. Not sure why it half
worked the wrong way but its fixed now. Thanks again.
Best,
Joshua
> class Schedule extends AppModel {
> var $name = 'Schedule';
> var $hasMany = array(
> 'ProjectTasks' => array(
> 'className' => 'ProjectTasks',
> 'foreignKey' => 'schedule_id',
> 'dependent' => true
> )
> );
> }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---