in testing my app I just use the validations
validates_presence_of :first_name, :last_name, :email validates_presence_of :academy, :message => "You must select an Academy" validates_presence_of :role, :message => "You must select a role"
standard error_messages are fine for most of my fields , resulting in :
5 errors prohibited this data from being saved There were problems with the following fields: # Last name can't be blank # Email can't be blank # First name can't be blank
but 2 messages are a little bit confusing : # Role You must select a role # Academy You must select an Academy
the model names are embedded into the error message... how can I suppress them and get only the message.... # You must select a role # You must select an Academy
thanks fyh
erwin