bake : feature request

2007-11-22 Thread FoxMaSk

hello

when we do cake bake controller and choose one of the list,
i'd like to be able to rename the controller class name (by giving the
$useTable)

currently i dont like the way the database tables are named,
so when i do cake bake model that's create a model that i modify by
renaming the model filename,  changed the class name and add
$useTable.

But after that, when i do cake bake controller ; and make my choice i
have
You must have a model for this class to build scaffold methods.
Please try again.
because effectively the model has changed and bake cant find it.

So it will be nice to be able to specify the $useTable and class name
we we want.

Or may be i miss something that permits to do that ?

Kind regards



--~--~-~--~~~---~--~~
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?hl=en
-~--~~~~--~~--~--~---



RE: bake : feature request

2007-11-22 Thread Christian Winther

Please use trac for enhancements :)

-Original Message-
From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of FoxMaSk
Sent: 22. november 2007 13:20
To: Cake PHP
Subject: bake : feature request


hello

when we do cake bake controller and choose one of the list,
i'd like to be able to rename the controller class name (by giving the
$useTable)

currently i dont like the way the database tables are named,
so when i do cake bake model that's create a model that i modify by
renaming the model filename,  changed the class name and add
$useTable.

But after that, when i do cake bake controller ; and make my choice i
have
You must have a model for this class to build scaffold methods.
Please try again.
because effectively the model has changed and bake cant find it.

So it will be nice to be able to specify the $useTable and class name
we we want.

Or may be i miss something that permits to do that ?

Kind regards





--~--~-~--~~~---~--~~
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?hl=en
-~--~~~~--~~--~--~---



Re: bake : feature request

2007-11-22 Thread Gwoo

yes, you are missing something. Bake is not meant to satisfy special
cases. As a good friend would say, Edge case, move on.
Bake works based on the conventions in Cake. If you do not follow
these conventions because you do not like them, then you will end up
writing a lot more code.
--~--~-~--~~~---~--~~
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?hl=en
-~--~~~~--~~--~--~---



Re: bake : feature request

2007-11-22 Thread FoxMaSk

ok, I understood


On Nov 22, 7:15 pm, Gwoo [EMAIL PROTECTED] wrote:
 yes, you are missing something. Bake is not meant to satisfy special
 cases. As a good friend would say, Edge case, move on.
 Bake works based on the conventions in Cake. If you do not follow
 these conventions because you do not like them, then you will end up
i did not say i dont like the conventions on the contrary i jsut
search the better way to use cake.
if you say it a special case
i will search a way to simply the issue.

 writing a lot more code.

regards
--~--~-~--~~~---~--~~
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?hl=en
-~--~~~~--~~--~--~---