You can add :prepend_text option
at error_message_on

On Nov 27, 2:02 pm, Abhishek shukla <[email protected]> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to