aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorPareshGupta <paresh@vinsol.com>2016-04-07 15:37:17 +0530
committerPareshGupta <paresh@vinsol.com>2016-04-07 15:37:17 +0530
commit57f5f51bd2e6bf2a54703bbf6744e7ed10a462ea (patch)
treec94f4cd3e1bbd2b59d769ad57860cea20ce08374 /activemodel
parent1c3afbab779f052a3fc6d5e2747874b3347d58cf (diff)
downloadrails-57f5f51bd2e6bf2a54703bbf6744e7ed10a462ea.tar.gz
rails-57f5f51bd2e6bf2a54703bbf6744e7ed10a462ea.tar.bz2
rails-57f5f51bd2e6bf2a54703bbf6744e7ed10a462ea.zip
fix length validation error typo
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/lib/active_model/validations/length.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/validations/length.rb b/activemodel/lib/active_model/validations/length.rb
index 910cca2f49..79297ac119 100644
--- a/activemodel/lib/active_model/validations/length.rb
+++ b/activemodel/lib/active_model/validations/length.rb
@@ -136,7 +136,7 @@ module ActiveModel
# * <tt>:too_long</tt> - The error message if the attribute goes over the
# maximum (default is: "is too long (maximum is %{count} characters)").
# * <tt>:too_short</tt> - The error message if the attribute goes under the
- # minimum (default is: "is too short (min is %{count} characters)").
+ # minimum (default is: "is too short (minimum is %{count} characters)").
# * <tt>:wrong_length</tt> - The error message if using the <tt>:is</tt>
# method and the attribute is the wrong size (default is: "is the wrong
# length (should be %{count} characters)").