Fixing issue with bake model <name>

This commit is contained in:
mark_story 2009-11-15 16:47:58 -05:00
parent 6039d6ebe4
commit ea6e3dd076

View file

@ -65,6 +65,7 @@ class ModelTask extends Shell {
if (!empty($this->args[0])) {
$model = Inflector::camelize($this->args[0]);
$this->useDbConfig = 'default';
if ($this->bake($model)) {
if ($this->_checkUnitTest()) {
$this->bakeTest($model);