Default Validation Header

Dylan Stamat
2005-11-04T01:23:04Z

This is the default error header on validation headers:
* errors prevented this * from being saved

The only information I found on how to override this is as follows:
http://wiki.rubyonrails.org/rails/pages/OverridingRailsMessagesInAnotherLanguage

My only other alternative would be to have the controller check with the
model to see if each field is valid, and if not, send back a custom
message to the view for each field. This would obviously be extremely
verbose, and an overkill.... but all the alternatives look to be an
overkill.

Am I correct in my above assumptions ?
If so, I may have to jump in and submit my first patch, which would at least
allow an override of the validation header.

Thanks !


_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org