Thursday, May 24, 2012

Re: Manually create a model

Figured it out. Caching was to blame.  Removed the cached files from app/cache/models I believe, and that fixed the problem

On Thu, May 24, 2012 at 9:55 PM, Tay <taylor@rent180.com> wrote:
I created a table named credit_cards and created a model named
CreditCard.  I then added 'CreditCard' to the uses array of a
controller.

I get this error:

Missing Database Table

Error: Database table credit_cards for model CreditCard was not found.


What am I missing,

Thanks

--
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
cake-php+unsubscribe@googlegroups.com 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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate