remove field name from object validation message
        Posted  
        
            by Colin G
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Colin G
        
        
        
        Published on 2010-06-01T16:03:34Z
        Indexed on 
            2010/06/01
            16:23 UTC
        
        
        Read the original article
        Hit count: 204
        
I've got a simple active record validation on an object using this within a form:
  form.error_messages({:message => '', :header_message => ''})
This in turn outputs something like "FieldName My Custom message"
What i need to do is remove the field name from the error message but leave my custom message.
Can anyone point me in the right direction for this.
© Stack Overflow or respective owner