Source: show | on GitHub
# File activemodel/lib/active_model/validations/presence.rb, line 7 def validate(record) record.errors.add_on_blank(attributes, options) end