aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2015-06-23 17:55:37 +0200
committerRobin Dupret <robin.dupret@gmail.com>2015-06-23 17:55:37 +0200
commite09129c94c382650987d1005f3e2741b60bfa0d6 (patch)
treeb0efc1acdffd34b709a3b9cf7779563c34ee544a /activerecord
parent707144a31e19a3d6c1cb237d4cb74cefa0124296 (diff)
downloadrails-e09129c94c382650987d1005f3e2741b60bfa0d6.tar.gz
rails-e09129c94c382650987d1005f3e2741b60bfa0d6.tar.bz2
rails-e09129c94c382650987d1005f3e2741b60bfa0d6.zip
A few documentation fixes [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/validations/length.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/validations/length.rb b/activerecord/lib/active_record/validations/length.rb
index ebb1034da7..69e048eef1 100644
--- a/activerecord/lib/active_record/validations/length.rb
+++ b/activerecord/lib/active_record/validations/length.rb
@@ -22,7 +22,7 @@ module ActiveRecord
end
module ClassMethods
- # Validates that the specified attributes matches the length restrictions supplied.
+ # Validates that the specified attributes match the length restrictions supplied.
# If the attribute is an association, records that are marked for destruction are not counted.
#
# See ActiveModel::Validations::HelperMethods.validates_length_of for more information.