Forum: Ruby on Rails validating when form labels don't match table fields

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
B1835ed055e04fdfc1111944218807ce?d=identicon&s=25 Mike (Guest)
on 2007-01-09 03:59
(Received via mailing list)

I'm using the validates_* functions in my models, but with one model,
I've used different labels in the view than what the real field names
are on the model.  I see how to set a custom message with :message but
it always sticks in the model's field name.  This would be confusing
when the error message is displayed, and the whole point was to make
the labels a little more tailored to the end user.

Is there any easy solution here?

This topic is locked and can not be replied to.