Intermitent Naming Conflict
问题 I call for collective wisdom on this one. I am having the following extremely weird bug. I have a model named File.php. I have used it in several places in my app. But now it doesn't seem to work. In this case, it works in my Template.php: $this->Behaviors->load('Containable'); $this->contain( array( 'User', 'TemplatesUserType' => array( 'UserType', 'FilesTemplatesUserType'=>array('File') ) ) ); $template=$this->find('first',array('conditions'=>array('Template.id'=>$template_id,"Template.user