Thanks Amit - took a look and it looks promising. Just wondering how one installs it ? regards, Dave
On Oct 10, 4:43 pm, "Amit Badkas" <[EMAIL PROTECTED]> wrote: > 2008/10/10 Dave Porter <[EMAIL PROTECTED]> > > > > > Hi Everyone, > > > I'm just doing some evaluation of Cake & finding the validation code > > very complex compared to the way it is done in RoR ( as one example ). > > ( e.g. validates_presence_of :title, :description, :image_url ) > > > It would probably be much better if the 'cake bake' facility allowed > > multiple validations to be entered, but it only seems to allow one > > validation per model. Plus the cake bake does not seem to have > > 'required'=>true as an option. Which I would have thought to be an > > obvious option in the list! > > - I have once posted patch for this athttps://trac.cakephp.org/ticket/3959, > also written blog > posthttp://www.sanisoft.com/blog/2008/04/29/multiple-validation-rules-per... > it - you can use these for your need > > -- > Amit > > http://amitrb.wordpress.com/http://coppermine-gallery.net/http://cheesecake-photoblog.org/http://www.sanisoft.com/blog/author/amitbadkas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
