Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing issue with bake model <name>

  • Loading branch information...
commit ea6e3dd0763f4d4b310df79190918dd4fedd9f30 1 parent 6039d6e
@markstory markstory authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  cake/console/libs/tasks/model.php
View
1  cake/console/libs/tasks/model.php
@@ -65,6 +65,7 @@ function execute() {
if (!empty($this->args[0])) {
$model = Inflector::camelize($this->args[0]);
+ $this->useDbConfig = 'default';
if ($this->bake($model)) {
if ($this->_checkUnitTest()) {
$this->bakeTest($model);
Please sign in to comment.
Something went wrong with that request. Please try again.