does nobody know or is it impossible or what?

On Nov 29, 3:39 pm, Luke <[EMAIL PROTECTED]> wrote:
> Does cake not allow multiple "hasMany" associations? for some reason
> it is only rendering scaffolding for the first of the two I'm putting
> in here:
>
> class Order extends AppModel {
>    var $name = 'Order';
>
>    var $hasMany = array(
>                          'OrderNote' => array(
>
>                                'className'     => 'OrderNote',
>                                'dependent'     => true,
>
>                          ),
>
>                          'OrderItem' => array(
>
>                                'className'     => 'OrderItem',
>                                'dependent'     => true,
>
>                          )
>                   );
>
> }
>
> if I switch the two and make OrderItem first, then that shows up in
> the scaffolding. What's the deal??
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to