Re: Class and Model Naming Problems (wave becomes wafe)

2009-08-25 Thread Marcelo Andrade
On Tue, Aug 25, 2009 at 1:36 AM, Vijay Pandey wrote: > > Yes...thats trueIt is NOT a bug but a "cake convention"all > plurals ending in "ves" are converted in "fe" to make singular. > > To instruct cake not to do that...just add the entri in > $irregularPlurals at app/config/inflector.php

Re: Class and Model Naming Problems (wave becomes wafe)

2009-08-24 Thread Vijay Pandey
Yes...thats trueIt is NOT a bug but a "cake convention"all plurals ending in "ves" are converted in "fe" to make singular. To instruct cake not to do that...just add the entri in $irregularPlurals at app/config/inflector.php as Marcelo says. Regards, Vijay On Aug 24, 10:48 pm, Nancy

Re: Class and Model Naming Problems (wave becomes wafe)

2009-08-24 Thread Nancy
This isn't going to help but I bet maybe it uses the the same rules for waves/wafe as it does for wives/wife. :D On Aug 21, 12:10 pm, JDRopp wrote: > Thanks Marcelo for pointing to the relevant code. > > I decided to change the model, table, and controller names instead. > > I'll submit the defe

Re: Class and Model Naming Problems (wave becomes wafe)

2009-08-21 Thread JDRopp
Thanks Marcelo for pointing to the relevant code. I decided to change the model, table, and controller names instead. I'll submit the defect to Cake. On Aug 21, 12:01 pm, Marcelo Andrade wrote: > On Fri, Aug 21, 2009 at 3:21 PM, JDRopp wrote: > > > I've just started working with Cake and have

Re: Class and Model Naming Problems (wave becomes wafe)

2009-08-21 Thread Marcelo Andrade
On Fri, Aug 21, 2009 at 3:21 PM, JDRopp wrote: > > I've just started working with Cake and have been impressed so far. > > I've created: > A table called "waves" > A model class called "wave" (wave.php) > A controller class called "WavesController" (waves_controller.php) > > Somehow "wave" turns i

Class and Model Naming Problems (wave becomes wafe)

2009-08-21 Thread JDRopp
I've just started working with Cake and have been impressed so far. I've created: A table called "waves" A model class called "wave" (wave.php) A controller class called "WavesController" (waves_controller.php) Somehow "wave" turns into "wafe" when SQL is generated. For example: Nr Query