FAQ #45
Question: Why is my model not loading?
Answer: Check if you didn't follow the Cake model class or file naming conventions.the class name should be singular and camel cased and the file name should be singular, all lowercase. This type of mistake often escapes quick detection because Cake will create your model class on the fly if it can't find it.
Example:
//wrong!
class Books extends AppModel{
...
//correct!
class Book extends AppModel{
...
//wrong model file name!
app/models/Book.php
//correct!
app/models/book.php
class Books extends AppModel{
...
//correct!
class Book extends AppModel{
...
//wrong model file name!
app/models/Book.php
//correct!
app/models/book.php
Category:Model