Your model has to be the singular name of the database table.

Db table: airportgroups
Model: airportgroup
 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Joao Ribeiro da Silva
Sent: Tuesday, March 03, 2009 3:48 PM
To: CakePHP
Subject: Errors in expected table names?


Hi to all:

I'm new to Cake but I work with PHP since the beginning, I'm developing a
website now using Cake, -Yes a surrender to it's achantments ;P

I build all my table models following the instruction on Cake's website.

But I'm getting this error.

Error:  Database table airportgoups for model Airportgroups was not found.

What I mean is why airportgoups and not airportgroups??

Thanks in advance
Joao



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to