Custom field name for error messages

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

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?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs