Methods
Public Instance methods
[ show source ]
# File activemodel/lib/active_model/validations/presence.rb, line 8
8: def validate(record)
9: record.errors.add_on_blank(attributes, options)
10: end