Help! vendor() is deprecated.
No, I don't need help - I am the one providing it
Use of vendor() function to load third party libs in CakePHP has been deprecated for some time now... It has been replaced with the more generic App::import() the usage is simple
PLAIN TEXT
PHP:
App::import('vendor', 'filename');
And it works fine.... now now! I wouldn't [...]
Multiple validation rules per model field while baking
Bake does a good job of creating models and validations. However, bake does not allow for multiple validation rules on a single field. This is not much of a problem if you have only a few models but when you start to work on several dozen models in a project it becomes very tedious to [...]