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