I created a model called 'Field' with a table called 'fields', and a
controller called 'FieldsController' and got no errors querying data.
What kind of errors were you getting?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Field seems to be a reserved word in cake.
i had a table called fields, with a model filename of field.php.
A simple bake of the model and controller with scaffolding turned on
gave me all sorts of warnings.
i renamed it something else, and it works fine.
inflectors is always a good place to start:
http://api.cakephp.org/inflector_8php-source.html#l00264
There is also a request for a list of keywords via ticket 1318.
https://trac.cakephp.org/ticket/1318
--~--~-~--~~~---~--~~
You received this message because