Displaying 1 result from an estimated 1 matches for "validaiton".
Did you mean:
validacion
2006 Jul 08
1
overriding validation messages
I have the following in my model
validates_numericality_of :lwind_id
When a user submits a non numeric value for the lwind control, the default
validaiton message is "Lwind is not a number". I need this to say "Land
Window is not a number".
I have placed the following in my model
validates_numericality_of :lwind_id, :message => "Land Window is not a
number"
which yields
"Lwind Land Window is not a number...