In my rails app I use the validation helpers in my active record objects and they are great. When there is a problem I see the standard ‘3 errors prohibited this foobar from being saved’ on my web page along with the individual problems.
Is there any way I can override this default message with my own?
The
error_messages_forhelper that you are using to display the errors accepts a:header_messageoption that allows you to change that default header text. As in:The RubyOnRails API is your friend.