I am trying to figure out how to customize the error messages when I use
validates_presence_of. I am validating a user name and I use <%=
error_messages_for ‘user’ %> in my view to display the messages. I know
you can customize in the model with :message =>‘custom message’, but I
am trying to get rid of the first part of the error message which is,
1 error prohibited this user from being saved
There were problems with the following fields:
Is there any way to do this or is it hard coded into the rails code?