Methods

Class Index [+]

Quicksearch

ActiveModel::Validations::PresenceValidator

Public Instance Methods

validate(record) click to toggle source
   # File lib/active_model/validations/presence.rb, line 7
7:       def validate(record)
8:         record.errors.add_on_blank(attributes, options)
9:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.