Hey, > Thanks for the response. I want to avoid adding a Supervisor model as > a supervisor is just another employee. The > EmployeesSupervisor.supervisor_id is a foreign key to Employees.id.
Well, the supervisor has different behavior (Employee.is_supervisor = true), so, I'd see it as another entity and model. But, you can put this condition in the relationship declaration and use the same model. > I did initial try to set this up as HABTM but after reading other post > that suggested otherwise I switched to the current method. Your situation surely looks like a HABTM. I don't know if that previous solution would work for you. Werner Petry Moraes http://werner.inf.br/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---