Thanks Miles J, I made that change and it worked perfectly. What you have suggested here is definitly not intuitive from the naming conventions in the link provided earlier.
It was unclear that the model file was not being read and a result extremely frustrating. Therefore, I would suggest (even if it is only a debugging feature) that an error be displayed in the event that the model class is not found. Thanks again, Brendan Miles J wrote: > > > Model name should be singular and camelcase, yours is plural. The file > should be singular and separated with underlines. > > Your problem however is that you dont need _model on the file name, it > should just be segment.php. > > On Oct 7, 3:43 pm, paullb <brendan.pa...@gmail.com> wrote: >> Thanks for the replies. >> >> I had already cleared out the cache, turned off caching at set debug >> level >> at 2. >> >> I checked out the convention page you provided and tried many different >> ways >> of naming things but none changed the result that the model class was >> entirely ignored. >> >> Would it be possible to have the correct naming convention for my example >> here? >> >> >> >> AD7six wrote: >> >> > On 7 oct, 19:46, brian <bally.z...@gmail.com> wrote: >> >> You're the second person today. Clear out app/tmp/cache/models/ and >> >> set debug > 0 to have Cake check the model schema on each request. >> >> > That's not relevant. >> >> > paullb - see conventions[1] your class isn't named correctly, and >> > neither is your model file. >> >> > hth, >> >> > AD >> > [1]http://book.cakephp.org/search/conventions >> >> -- >> View this message in >> context:http://www.nabble.com/Model-Files-do-not-get-read-in-by-the-system.-t... >> Sent from the CakePHP mailing list archive at Nabble.com. > > > > -- View this message in context: http://www.nabble.com/Model-Files-do-not-get-read-in-by-the-system.-tp25787023p25796046.html Sent from the CakePHP mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---