hey, there is actually a file called :
/app/config/inflections.php which allows you application level control over how Cake pluralises and singularises Controllers and Models. There is a file reference in the API : http://api.cakephp.org/app_2config_2inflections_8php.html This may help you perform the same function as above without delving in to the Cake core code. HTH, mikee On 27/01/07, albertordz <[EMAIL PROTECTED]> wrote: > > 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 [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 -~----------~----~----~----~------~----~------~--~---
