Plural tablenames

CakePHP convention requires tablenames to be plural, for example “customers”, “orders”, etc. But what about a model called “Category”. I thought I’d be clever and call the table “categorys”. But CakePHP is more clever than that, it ecpects the table to be called “categories”:


Leave a Reply