The problem is that your hasMany association array is overwriting your
main model array (since both are called "Gallery"). Here's what you
can do instead:
var $hasMany = array('Galleries' => array('className' => 'Gallery'));
Now, your main Gallery will show up in the 'Gallery' array, and your
child Galleries will show up in the 'Galleries' array.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---