aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorJon Moss <maclover7@users.noreply.github.com>2017-02-15 17:36:39 -0500
committerGitHub <noreply@github.com>2017-02-15 17:36:39 -0500
commit6dccceef9c888e7e8a2cdcd46cd896eff75d64d9 (patch)
treeceea9b283984f7d9d39666ea203c8714104a8ff6 /activerecord/lib
parenta9231d56e4a6fcbfe39518f60239d305a8a80363 (diff)
parentd57356bd5ad0d64ed3fb530d722f32107ea60cdf (diff)
downloadrails-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 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/validations/presence.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/validations/presence.rb b/activerecord/lib/active_record/validations/presence.rb
index ca5eda2f84..7cfd55f516 100644
--- a/activerecord/lib/active_record/validations/presence.rb
+++ b/activerecord/lib/active_record/validations/presence.rb
@@ -57,7 +57,7 @@ module ActiveRecord
# or <tt>unless: Proc.new { |user| user.signup_step <= 2 }</tt>). The method,
# proc or string should return or evaluate to a +true+ or +false+ value.
# * <tt>:strict</tt> - Specifies whether validation should be strict.
- # See ActiveModel::Validation#validates! for more information.
+ # See ActiveModel::Validations#validates! for more information.
def validates_presence_of(*attr_names)
validates_with PresenceValidator, _merge_attributes(attr_names)
end