Hi Brendan,

> 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.

Thing is, by design, Cake attempts to create models when required, so
if you have a miss-named model file, but everything else is ok, cake
will create the model at runtime. It's a core feature, I believe it's
used to create the 'with' associations etc, so you don't need to
create model files explicitly every time, so I think it unlikely to
change.

There's always a few hurdles when learning something as extensive as
Cake, it's worth it though, IMHO :)

jb

-- 
jon bennett - www.jben.net - blog.jben.net

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to