[Rails] custom field name for error messages?

2008-09-09 Thread Tim
I know this may be nit-picky, but I'd like to show a more friendly field name when displaying error messages. For example, I've got a form field labeled "E-Mail Address" but the error message looks like this: * Email address must be valid A better example is that I've got a field on the User mo

[Rails] custom field name for error messages

2008-09-09 Thread Tim
I know this may seem nit-picky, but I'm wondering if it's possible to have a custom field name in the error messages instead of the attr_name. I've got a form field that is labeled "E-Mail Address", but the error message looks like this: * Email address is required Perhaps a better example... T