Try this in your controller: RunAsController { var $uses = array('RunAs' /* ,'AnotherUsedModel', 'AnotherModel' */); }
if you want to use that model. Or (I have an aha factor) if you need not in model, just write: RunAsController { var $uses = null; } ...and remove model file > Hi everybody! > > I am building my first CakePHP application. I have no idea about how > should I manage an entity like "runas". > / > Following naming rules, I have created something like this: > > Database table: [run_as] > Model file: [run_as.php], with a class named [RunAs] > Controller file: [run_as_controller.php] with a class named > [RunAsController] > > When I try to reach this controller, I get a "Missing Model, No class > found for the RunA model" error. > > How should I correct this? > Thanks in advance, AnderG > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---