1
0
Fork 0
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:
Ryuta Kamizono 2020-03-21 22:49:56 +09:00 committed by GitHub
commit de8a404751
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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