method

add_on_blank

Importance_1
v2.1.0 - Show latest stable - 0 notes - Class: ActiveRecord::Errors
add_on_blank(attributes, msg = @@default_error_messages[:blank]) public

Will add an error message to each of the attributes in attributes that is blank (using Object#blank?).

Show source
Register or log in to add new notes.