我正在使用 $this->loadModel('SomeModel'); 在控制器 x 中用于读取模型 y。
为什么我看不到相关记录?
$this->loadModel('SomeModel');
pr($this->SomeModel->find('all'));
Array
(
[0] => Array
(
[SomeModel] => Array
(
[id] => 1
[created] => 2013-10-10 19:27:46
[updated] => 2013-10-14 18:04:14
[user_id] => 2
[result_id] => 3
)
)