Rails Validation query

Hello Friend,
Need a help…
Whenever i am doing rails validation its give me an output at

*3 errors prohibited this customer from being saved

There were
problems with the following fields:

  • Enter your name
  • Enter your e-mail address
  • *So i need to modify the above mention default errors…

    Only i want to display
    "

  • Enter your name
  • Enter your e-mail address
  • "

    So please let me know how i can edit…

    Thanks n regards
    abhi…

On 2 Sep 2008, at 10:54, Abhishek shukla wrote:

Only i want to display

  • Enter your name
  • Enter your e-mail address
  • So please let me know how i can edit…

    If you want to customise the layout of error messages and stuff like
    that your best bet is to stop using error_messages_for and write your
    own replacement (it’s not hard. look at the source for
    error_messages_for and fiddle with @your_object.errors.full_messages)

    Fred