Sorry... Maybe I should have been even more specific (because of the language). My table's name is sede_uves (the compound name), my controller's name is SedeUvesController and my model's name is SedeUve. I would like to define a rule for Cake to deduce SedeUve (the name of the model) from sede_uves (the name of the table). Sorry again and thanks a lot.
On 19 ago, 19:06, jordicakephp <[email protected]> wrote: > Good afternoon everybody, > > I'm trying to define a new rule of type singular-plural so that > CakePHP joins magically the table and the model names that these rule > refers to. More specifically, I go to inflections.php and write: > > $irregularPlural = array('sedeuve', 'sedeuves'); > > But this doesn't work because my table, sede_uves, is a compound noun. > I've worked before in this way, with simple nouns, and everything has > gone ok, but now, with a compound name, this doesn't work... Could > somebody give me a clue to solve this? Thanks a lot in advance! :-D --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
