Patch review request: validates_numericality_of does not replace option in custom message like in default message


Today someone created a ticket for a defect in validates_numericality_of, at first sight i thought it wasn't a defect but an enhancement. But then i found that validates_length_of accepts :message => "should be greater than %d", but validates_numericality_of doesn't (The output for v_n_o is: "should be greater than %d" instead of "should be greater than 4"). I think this is inconsistent and therefore a bug.

I did a patch to solve ticket, you can view both here:

Feedback/+1 always welcome