Chris Hartjes wrote: > On 7/12/07, Michael Augustyniak <[EMAIL PROTECTED]> wrote: > >> class Band extends AppModel >> { >> var $name = 'Band'; >> var $hasMany = array('Images' => >> array('className' => 'Images','dependent' => true) >> ); >> } >> >> > > Shouldn't that be 'className' => 'Image'? > > I would've thought the error message pointed that out. > > well , I changed on Images because I use one component named Image, Component Image call $this->Image the same like the model But any way I changed in Images model all verbs so Do not understand that ...at all
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---