diff --git a/cake/console/libs/shell.php b/cake/console/libs/shell.php index f144849bb..b4987d221 100644 --- a/cake/console/libs/shell.php +++ b/cake/console/libs/shell.php @@ -552,7 +552,7 @@ class Shell extends Object { */ function _modelNameFromKey($key) { $name = str_replace('_id', '',$key); - return $this->_modelName($name); + return Inflector::camelize($name); } /** * creates the singular name for use in views.