method

validate

Importance_0
v3.2.8 - Show latest stable - 0 notes - Class: ActiveModel::Validations::PresenceValidator
validate(record) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/validations/presence.rb, line 7
      def validate(record)
        record.errors.add_on_blank(attributes, options)
      end
Register or log in to add new notes.