Validation error text is defined where?


#1

Hi,

If I forget to enter a field that is “validate_existance_of” then Rails
will
display a message like

1 error prohibited this order from being saved
There are problems with the following field:

  • Name can’t be blank.

Where do these pieces of text live?

Thanks,
Peter


#2

Have a look at
http://wiki.rubyonrails.com/rails/pages/OverridingRailsMessagesInAnotherLanguage

Okada.

2005/11/11, Peter M. removed_email_address@domain.invalid: