Thanks for reply
Let me try this, then i will reply you updated .

Fahim

On Wednesday, January 16, 2013 10:34:42 AM UTC+5:30, Dheeraj Kumar wrote:
>
> 1. Why do you have two presence validators?
> 2. add allow_blank: true to the numerical validator.
>
> -- 
> Dheeraj Kumar
>
> On Wednesday 16 January 2013 at 10:11 AM, Fahim Patel wrote:
>
>
> Hi all,
>
> I have one numeric field "age" and it have two validation presence and 
> numerical true.
> When i click submit without filling any value then i face error message is 
> "is not number" ,but error message should be "is should be presence". How 
> to set this message?
> Both the condition are satisfying.
>
> Did i have to configure en.yml ?
>
> Thanks
>
> Fahim
>
>
>
>  
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonra...@googlegroups.com<javascript:>
> .
> To unsubscribe from this group, send email to 
> rubyonrails-ta...@googlegroups.com <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/rubyonrails-talk/-/Bz2IOd8dFO8J.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
>  
>  
>  

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/jsnY7wtEPZUJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to