On Fri, Dec 26, 2008 at 7:40 PM, Chad Casselman <ccassel...@gmail.com> wrote: > Should it bring in all hardcoded (model) associations when I import them? > > Here is what I have and I can't pull any fields from Sequences or > PackagesSequence objects/tables > > var $uses = array('Package','Sequence','PackagesSequence'); > $extra = array( > 'recursive' => 1, //int > 'fields' => array('Package.name', 'Sequence.name'), //array > of field names > ); > > $this->Package->find('all', $extra); > > I get an error that it doesn't know the Sequence table. Thoughts? Do I > have to recode the associations already in the models?
you need to $this->Package->bindMode(...) -- Fedora 9 : sulphur is good for the skin ( www.pembo13.com ) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---