Nested model + error message

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
Abhis

You can add :prepend_text option
at error_message_on

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