On 7/17/06, Sonic Baker <[EMAIL PROTECTED]> wrote: > Any comments will be greatly appreciated.
You can access directly any of the models in the associations you've set. The QUOTE Train Wreck UNQUOTE scenario is just a means of readability. If you have Users hasMany Posts you can call $this->Post or $this->User->Post in the Users controller. The first is short but can be confusing since not everybody remembers the associations and the second, while a bit more lenghty, is quite more readable. Just my 2c, Gustavo Carreno --- < If you know Red Hat you know Red Hat, If you know Slackware you know Linux > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
