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?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to