method

add_on_empty

add_on_empty(attributes, custom_message = nil)
public

Will add an error message to each of the attributes in attributes that is empty.