Re: Field is apparently a reserved word.
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 Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Field is apparently a reserved word.
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. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Field is apparently a reserved word.
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 you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---