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… The User model has a field called
“active”, but the form field is labeled “Status” with options of
“active” and “inactive”. The error messages end up looking like this:
- Active must be active or inactive
I’d love to have that say Status instead of Active.
Any way this is possible?