mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #38784 from JuanitoFatas/doc/am-absence-validator
Fix a typo in AbsenceValidator [ci skip]
This commit is contained in:
commit
de8a404751
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ module ActiveModel
|
|||
|
||||
module HelperMethods
|
||||
# Validates that the specified attributes are blank (as defined by
|
||||
# Object#blank?). Happens by default on save.
|
||||
# Object#present?). Happens by default on save.
|
||||
#
|
||||
# class Person < ActiveRecord::Base
|
||||
# validates_absence_of :first_name
|
||||
|
|
Loading…
Reference in a new issue