I need to make a correction. The SQL Error states that the table doesn't exist in my default db, not the alternate. So, the dbConfig is not recognized unless I use the loadModel method. Hope this clears up confusion.
On Jun 23, 1:20 pm, sax <[email protected]> wrote: > Cake 1.2.10 > > If I add a model that uses a non-default dbConfig to my controllers > $uses array, like var $uses = array('Table'); cake fails and gives me > an error "SQL Error: 1146: Table 'alternate.table' doesn't exist". > However, if I load the model in an action use $this->loadModel, cake > uses the correct dbConfig and all is great. > > This should probably go in the bug tracker, but I want someone to > verify this before I add anything. > > Thanks -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
