Yes that is correct but it will not bake the view. I get error saying
Favorite Table cannot be found in the console.

 

From: [email protected] [mailto:[email protected]] On Behalf
Of Greg Skerman
Sent: Thursday, July 12, 2012 3:12 AM
To: [email protected]
Subject: Re: Naming Conventions

 

PostsController

If you have a table called favorite_posts, cake's going to want to bake a
"FavoritePost" model, and a "FavoritePostsController" controller.




On Thu, Jul 12, 2012 at 11:32 AM, Advantage+ <[email protected]> wrote:

I have Post model / PostController

 

In the db I have favorite_posts but when I try to bake I get Favorite Table
not found. There is no favorite table so something is wrong with my table
name but what is it?

 

Where am I going wrong here?

 

Thanks all.

-- 
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]
<mailto:cake-php%[email protected]>  For more options, visit
this group at http://groups.google.com/group/cake-php

 

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

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