You can add :prepend_text option
at error_message_on
On Nov 27, 2:02 pm, Abhishek shukla
<bettera...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hello Friend,
> I want to override the default error message, but some how I am not able to
> implement it.
>
> The scenario is
> I have a user table and user detail table I have implement nested model.
>
> And the below mention message is appearing and instead of that I want
> something "User Name cannot be blank"
>
> - *User detail given name can''t be blank*
>
> Thanks
Syed Samiuzzaman
software Engineer
Code71 Inc (www.code71.com)
product: www.scrumpad.com
blog: samiuzzaman.blogspot.com> Abhis
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.