In /app/config/inflections.php add all words that you want uninflected

For examples I think this can solve your problem

        $uninflectedPlural = array('competencia'); 

-----Messaggio originale-----
Da: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Per conto
di albertordz
Inviato: sabato 27 gennaio 2007 2.17
A: Cake PHP
Oggetto: Re: Pluralisation and bake error


Hope this help you:
I had the same error, I got a Model named Reactivo which is associated with
model Competencia this way: Reactivo belongsTo Competencia Competencia has
the $displayField = 'competencia' declared variable and I realized that cake
was trying to singularize competencia into competencium (I don't know why)
What I did was to delete the line 181 from cake/libs/inflector

'/([ti])a$/i' => '\1um',

and now everything is ok




--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to