El Martes, 20 de Octubre de 2009, [email protected] escribió: > Hi, > > before_create_save is nt meant to check if something is right or wrong > with a record. > I think intention was to give an option to do something in addition. > > Therefore it s not comparable to a validation callback in > activerecord, which might interupt saving process. > > ActiveScaffold will only show flash messages in case of a failed > create and I think in your case activescaffold created successfully > your record.
Ok, does it mean that I can use the flash method into an ActiveRecord validation and it would be displayed in activescaffold? Thanks. -- 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 -~----------~----~----~----~------~----~------~--~---
