I have a field called sui
in one of my models. It stands for "Standard User Identifier." When there are validation errors on the field, Rails prints "Sui is required" or "Sui is already taken."
How can I tell Rails that 'sui'.titleize
is "SUI"? I looked at Inflector.human
, but that isn't quite right.