Displaying 1 result from an estimated 1 matches for "20b581e5".
2006 Mar 07
1
column human names in validation errors
hi,
I don''t know how to change field names in error messages.
if I add error message like this:
errors.add( "age", "You must be at least 18 years old" ) unless age >=
18
when error occures this text is displayed
Age You must be at least 18 years old
so the first word(s) is column human name for that attribute.
how can I change that? of course only in error