I assume this is really easy, and I'm missing something obvious. I'm connecting to a legacy database that has column dblOrderQty
. I'm validating it thusly:
validates_numericality_of :dblOrderQty, :greater_than => 0
This, of course, presents "Dblorderqty must be greater than 0". I'd much rather have that say "Quantity must be greater than 0," but I can't find a way to modify the column name in the message.