diff --git a/lib/Cake/Controller/Scaffold.php b/lib/Cake/Controller/Scaffold.php index 459b87fd8..af6f6a969 100644 --- a/lib/Cake/Controller/Scaffold.php +++ b/lib/Cake/Controller/Scaffold.php @@ -399,7 +399,7 @@ class Scaffold { } } else { throw new MissingActionException(array( - 'controller' => $this->controller->name, + 'controller' => get_class($this->controller), 'action' => $request->action )); } diff --git a/lib/Cake/Core/App.php b/lib/Cake/Core/App.php index dd72b9048..361d36e42 100644 --- a/lib/Cake/Core/App.php +++ b/lib/Cake/Core/App.php @@ -259,7 +259,7 @@ class App { * * Usage: * - * `App::build(array(Model' => array('/a/full/path/to/models/'))); will setup a new search path for the Model package` + * `App::build(array('Model' => array('/a/full/path/to/models/'))); will setup a new search path for the Model package` * * `App::build(array('Model' => array('/path/to/models/')), App::RESET); will setup the path as the only valid path for searching models` * diff --git a/lib/Cake/Model/Model.php b/lib/Cake/Model/Model.php index 6dd38ed53..f644e3d9c 100644 --- a/lib/Cake/Model/Model.php +++ b/lib/Cake/Model/Model.php @@ -2652,7 +2652,7 @@ class Model extends Object implements CakeEventListener { * Fields are treated as SQL snippets, to insert literal values manually escape your data. * @param mixed $conditions Conditions to match, true for all records * @return bool True on success, false on failure - * @link http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-updateall-array-fields-array-conditions + * @link http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-updateall-array-fields-mixed-conditions */ public function updateAll($fields, $conditions = true) { return $this->getDataSource()->update($this, $fields, null, $conditions);