データベースに「ficha_seg」という名前のテーブルがあります。モデルファイルの名前は「Ficha.php」で、コントローラーの名前は「FichasController.php」です。
だから、なぜ私はエラーが発生するのですか?
Error: Table fichas for model Ficha was not found in datasource default.
次のようにコントローラーのindex()メソッドを構成した後:
public function index() {
$this->set('ficha_seg', $this->Ficha->find('all'));
}