add_on_blank(attributes, options = {})
Instance Public methods
Will add an error message to each of the attributes in
attributes
that is blank (using Object#blank?).
person.errors.add_on_blank(:name) person.errors.messages # => {:name=>["can't be blank"]}
Please login to continue.