Skip to content
This repository
Browse code

Fixing issue with bake model <name>

  • Loading branch information...
commit ea6e3dd0763f4d4b310df79190918dd4fedd9f30 1 parent 6039d6e
Mark Story authored November 15, 2009

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  cake/console/libs/tasks/model.php
1  cake/console/libs/tasks/model.php
@@ -65,6 +65,7 @@ function execute() {
65 65
 
66 66
 		if (!empty($this->args[0])) {
67 67
 			$model = Inflector::camelize($this->args[0]);
  68
+			$this->useDbConfig = 'default';
68 69
 			if ($this->bake($model)) {
69 70
 				if ($this->_checkUnitTest()) {
70 71
 					$this->bakeTest($model);

0 notes on commit ea6e3dd

Please sign in to comment.
Something went wrong with that request. Please try again.