diff options
author | Sen Zhang <sen@letslinc.com> | 2017-02-15 14:29:04 -0800 |
---|---|---|
committer | Sen Zhang <sen@letslinc.com> | 2017-02-15 14:29:04 -0800 |
commit | d57356bd5ad0d64ed3fb530d722f32107ea60cdf (patch) | |
tree | ceea9b283984f7d9d39666ea203c8714104a8ff6 /activerecord/lib/active_record/validations | |
parent | a9231d56e4a6fcbfe39518f60239d305a8a80363 (diff) | |
download | rails-d57356bd5ad0d64ed3fb530d722f32107ea60cdf.tar.gz rails-d57356bd5ad0d64ed3fb530d722f32107ea60cdf.tar.bz2 rails-d57356bd5ad0d64ed3fb530d722f32107ea60cdf.zip |
change ActiveModel::Validation to ActiveModel::Validations in comments
Diffstat (limited to 'activerecord/lib/active_record/validations')
-rw-r--r-- | activerecord/lib/active_record/validations/presence.rb | 2 |
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 |