El Martes, 20 de Octubre de 2009, [email protected] escribió: > Hi, > > model validation errors will be "automatically" shown, there is no > need to do it in activerecord via flash object. > > if you want to validate something which you cannot achieve with the > various validation helpers, you can do the following in a > validiation callback: > errors.add(<attribute>, <message>)
Great, thanks a lot! -- Iñaki Baz Castillo <[email protected]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
