CakePHP – Do not name a table “models”!

July 5, 2007 | By | Reply More

I’m making a clock model database. Naturally enough, I named one of my tables “models”. Using CakePHP, I could enter data into the table, but neither data validation nor table associations would work. I renamed the table to “item” and everything is fine. Likewise, I suppose, a table should not be named “views” or “controllers”. I wonder what other names will not work.

Share this post:


Category: Clock Repair

Last updated: December 22, 2013

Leave a Reply