search for: v_n_o

Displaying 1 result from an estimated 1 matches for "v_n_o".

Did you mean: __o
2008 Mar 28
0
Patch review request: validates_numericality_of does not replace option in custom message like in default message
...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: http://dev.rubyonrails.org/ticket/11456 Feedback/+1 always welcome Cheers --~--~---------~--~----...