"arrays in inflector.php - to no avail"
well, thats because this is 1.2 style

see the changes for 1.3 on how to do it in cake1.3 :)



On 20 Jan., 22:33, Michael <[email protected]> wrote:
> Hello,
>
> I just ran into this problem as well, with a table named 'children'.
> When making the view, it tried to create 'childrens'. I tested with a
> table named 'people' though, and it worked fine. After figuring out
> how the Inflector pluralized things, I noticed that 'people' was being
> caught by _plural['uninflected'], while 'children' was falling all the
> way through to the rules. Therefore, by adding the word to the
> _plural['uninflected'] array in the Inflector, I solve the problem for
> me. I guess you'd need to add 'menus' to the same array.
>
> Hope that helps,
> Michael
>
> On Jan 12, 2:28 pm, Mac <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hello there.
>
> > I have a db table called menus.
>
> > Bake chokes on it with the following message:
> > The file 'menuses_controller.php' could not be found.
> > In order to bake a view, you'll need to first create the controller.
>
> > So far I have tried adding irregular inflections to both the $_plural
> > and $_singular arrays in inflector.php - to no avail.
>
> > Any other suggestions?
>
> > Also wondering if the name "menus" will give me some other problems
> > down the line...?
>
> > I'm using CakePHP 1.3.6 stable.
>
> > Any help is appreciated, thanks.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to