Merge branch '2.1' of github.com:cakephp/cakephp into 2.1

This commit is contained in:
Jose Lorenzo Rodriguez 2012-01-21 15:49:25 -04:30
commit 1884cd1f28

View file

@ -426,6 +426,8 @@ class ModelTask extends BakeTask {
$guess = $methods['uuid']; $guess = $methods['uuid'];
} elseif ($metaData['type'] == 'string') { } elseif ($metaData['type'] == 'string') {
$guess = $methods['notempty']; $guess = $methods['notempty'];
} elseif ($metaData['type'] == 'text') {
$guess = $methods['notempty'];
} elseif ($metaData['type'] == 'integer') { } elseif ($metaData['type'] == 'integer') {
$guess = $methods['numeric']; $guess = $methods['numeric'];
} elseif ($metaData['type'] == 'boolean') { } elseif ($metaData['type'] == 'boolean') {