Re: model & controller plur problem...
Hello AD7six... I have been a baker for some times but I just joined the group. It's nice to meet you and other bakers here. Thinking about openning my own "cakeshop" someday... ;) I mean a cakephp developer. AD7six wrote: > Hi Vladiq, > > I don´t know why it would be different between bake and running your > app, but in your /app/config/inflections.php file you can define > > $irregularPlural = array('stove' => 'stoves'); > > and in this way this plural will be handled correctly. > > Cheers, > > AD7six > PS. Who is cakeshop? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: model & controller plur problem...
Hi Vladiq, I don´t know why it would be different between bake and running your app, but in your /app/config/inflections.php file you can define $irregularPlural = array('stove' => 'stoves'); and in this way this plural will be handled correctly. Cheers, AD7six PS. Who is cakeshop? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: model & controller plur problem...
I am shure. stoves, stove... No one word "stofe"... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: model & controller plur problem...
Make sure that your controller's file name is stoves_controller.php and it starts with class StovesController extends AppController { var $name = 'Stoves'; ... and your model's file name is stove.php and it starts with class Stove extends AppModel { var $name = 'Stove'; Hope this helps. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---