Re: Auto-model association doesn't work

2009-08-20 Thread Dr. Loboto
Clear caches and check filenames. All files must be strictly lowercase. Cake just do not load your models as cannot find files. On Aug 20, 3:19 pm, "buzachis.a...@gmail.com" wrote: > Hey everyone. > > I have 2 models: User (hasOne) Character (belongsTo) User. > > Everything works great on my lap

Re: Auto-model association doesn't work

2009-08-20 Thread Brendon Kozlowski (Realm)
Have you tried clearing your app/tmp/cache folders to remove that as being the cause of the issue? On Aug 20, 4:19 am, "buzachis.a...@gmail.com" wrote: > Hey everyone. > > I have 2 models: User (hasOne) Character (belongsTo) User. > > Everything works great on my laptop. When I move it to a serv

Auto-model association doesn't work

2009-08-20 Thread buzachis.a...@gmail.com
Hey everyone. I have 2 models: User (hasOne) Character (belongsTo) User. Everything works great on my laptop. When I move it to a server, somehow, it can't find associations in models. If I do a find('first', condition id) i get only the User (not the Character too, and YES it exists in DB), eve