Permalink
Browse files

Fixing issue with bake model <name>

  • Loading branch information...
1 parent 6039d6e commit ea6e3dd0763f4d4b310df79190918dd4fedd9f30 @markstory markstory committed Nov 15, 2009
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);

0 comments on commit ea6e3dd

Please sign in to comment.