Custom error validation message

hi, i’ve got the following validations

  validates_presence_of :description ,  message: 'Url description can\'t be blank'
    validates_presence_of :url , message: 'Url can\'t be blank'

but the whole error message isn’t replaced.

I get something like this back :-

  • Url qts description Url description can’t be blank

Are the url and description you are testing both blank? Sometimes when testing I forget to test only one thing at a time.