Friday, November 27, 2009

[Rails] Re: Nested model + error message

You can add :prepend_text option
at error_message_on

On Nov 27, 2:02 pm, Abhishek shukla <bettera...@gmail.com> 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@googlegroups.com.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate