Yes, I got the name wrong :) And you are correct, better to "restart"
and follow the CakePHP naming conventions!
Enjoy,
   John

On Apr 24, 4:59 am, "Dr. Loboto" <[email protected]> wrote:
> On Apr 24, 2:25 am, John Andersen <[email protected]> wrote:
>
> > Based on what Dr. Loboto states, the model name is not the expected
> > one, so add:
>
> > var $uses = array('FondoFuncionale');
>
> > to your controller!
>
> No, don't right. To use model that efrainbss show, name should be
> "FondoFuncional". But I listed also tables names not just for
> information - I cannot predict what table efrainbss done for this
> model so there can be more errors.
>
> In this case much better redo all naming from scratch then connect 3
> bad named items - model, table and controller.
>
> > Enjoy,
> >    John
>
> > On Apr 23, 6:00 pm, "Dr. Loboto" <[email protected]> wrote:
>
> > > By convention model FondoFuncional refer to fondo_funcionals table and
> > > should be in file fondo_funcional.php Also by convention controller
> > > FondosFuncionales assume FondosFuncionale model as default, that refer
> > > to table fondos_funcionales and should be in file fondos_funcionale.php
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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