diff options
author | Jon Moss <maclover7@users.noreply.github.com> | 2017-02-15 17:36:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-15 17:36:39 -0500 |
commit | 6dccceef9c888e7e8a2cdcd46cd896eff75d64d9 (patch) | |
tree | ceea9b283984f7d9d39666ea203c8714104a8ff6 /activemodel/lib/active_model/validations/absence.rb | |
parent | a9231d56e4a6fcbfe39518f60239d305a8a80363 (diff) | |
parent | d57356bd5ad0d64ed3fb530d722f32107ea60cdf (diff) | |
download | rails-6dccceef9c888e7e8a2cdcd46cd896eff75d64d9.tar.gz rails-6dccceef9c888e7e8a2cdcd46cd896eff75d64d9.tar.bz2 rails-6dccceef9c888e7e8a2cdcd46cd896eff75d64d9.zip |
Merge pull request #28026 from Sen-Zhang/fix_some_typos_in_comments
Change ActiveModel::Validation to ActiveModel::Validations in comments
Diffstat (limited to 'activemodel/lib/active_model/validations/absence.rb')
-rw-r--r-- | activemodel/lib/active_model/validations/absence.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/validations/absence.rb b/activemodel/lib/active_model/validations/absence.rb index 75bf655578..4618f46e30 100644 --- a/activemodel/lib/active_model/validations/absence.rb +++ b/activemodel/lib/active_model/validations/absence.rb @@ -22,7 +22,7 @@ module ActiveModel # # There is also a list of default options supported by every validator: # +:if+, +:unless+, +:on+, +:allow_nil+, +:allow_blank+, and +:strict+. - # See <tt>ActiveModel::Validation#validates</tt> for more information + # See <tt>ActiveModel::Validations#validates</tt> for more information def validates_absence_of(*attr_names) validates_with AbsenceValidator, _merge_attributes(attr_names) end |