Shelby Westman
2005-Jul-26 12:44 UTC
lesson learned about model names vs controller directories
Well, after much distress, I figured out that I should NOT name a model with the same name as a subdirectory under controller. I had a controller that was under a directory call "teacher", and also a model named "Teacher". This was not a good thing... It took quite awhile to figure out what was wrong. Shelby
Wilson
2005-Jul-26 14:22 UTC
Re: lesson learned about model names vs controller directories
Also, I''ve learned that "script\generate model Application" is a bad plan. Shelby Westman wrote:> Well, after much distress, I figured out that I should NOT name a > model with the same name as a subdirectory under controller. I had a > controller that was under a directory call "teacher", and also a model > named "Teacher". This was not a good thing... It took quite awhile > to figure out what was wrong.