I tried to find an answer to this issue, but no luck so far. In my Routes controller I'm trying to do something like this:
$this->Route->Client->Invoice->LineItem->create(); But when I load the route, I only get as far as the Invoice, so the create() method throws an error (calling a method on a non-object) - all deeper associations are cut off. What's the best practice for managing "deep" associations like this? I thought about adding an addLineItem() custom method in the Invoice model, but not sure how that would work, either. Thanks for any help. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
