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 open each and every model file to make changes.
There has been an enhancement request ticket for allowing multiple validation rules open since three months but I needed the feature NOW()
And if in open source you need something now, you code it yourself and that’s what I did. Now, I can bake models with multiple validation rules and this is how it looks
I have submitted a patch for this to the above ticket. If you like me want the feature now, download the patch here. This patch works for the latest SVN checkout