What is the best way to override an _entire_ AR::Errors msg?

All,

I have an error message that I would like to be more readable, since my
column name doesn’t look good.

I want to change the output of

validates_presence_of :eSubject

from

Esubject can’t be blank

to

Subject can’t be blank

Do I have to go through aliasing the whole eSubject column in the AR
class or is there an easier way to just modify the “field part” of the
autogenerated message?

Thanks,
Wes

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