I had this same problem with the word tech. It kept asking about
teches, but I prefer techs. So, if you want to use the word menus for
your table do the following.

In your model (app/models/menu.php) include this:
var $useTable = 'menus';

In your controller (app/controllers/menus_controller.php) include
this:
var $uses = array('Menu');

That should do it for you. Let us know if that works or not.

On Mar 22, 11:46 am, "guigouz" <[EMAIL PROTECTED]> wrote:
> Hi
>   We're writing some content management stuff, and currently coding
> the "Menu editor". So, we have a model "Menu" with a
> "MenusController". When we accesshttp://site/menus, cake complains
> model "Menus" does not exist, and when we provide a "Menus" model, it
> asks for a "menuses" table.
>  Tried configuring inflections for
>   var $irregularPlural = array('menu' => 'menus');
>  but no luck
>
> Any workarounds ?


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

Reply via email to