diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-06-22 15:52:47 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-06-22 15:52:47 +0200 |
commit | ebc4c607a7859c9c35246d7fe74a17208ef3a66e (patch) | |
tree | 30413e5c6f952a0cb5791dc6a6324c8526d26c61 /activemodel | |
parent | 006a4d787e3fad4d142605d49ba4541992c6465b (diff) | |
download | rails-ebc4c607a7859c9c35246d7fe74a17208ef3a66e.tar.gz rails-ebc4c607a7859c9c35246d7fe74a17208ef3a66e.tar.bz2 rails-ebc4c607a7859c9c35246d7fe74a17208ef3a66e.zip |
docs, :scissors: wrongly placed heading. [ci skip]
The heading "Active Model Length Validator" was shown on the
"ActiveModel::Validations" page without any text following it.
Diffstat (limited to 'activemodel')
-rw-r--r-- | activemodel/lib/active_model/validations/length.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/validations/length.rb b/activemodel/lib/active_model/validations/length.rb index c22a58f9e1..2ea740b56b 100644 --- a/activemodel/lib/active_model/validations/length.rb +++ b/activemodel/lib/active_model/validations/length.rb @@ -1,8 +1,6 @@ require "active_support/core_ext/string/strip" module ActiveModel - - # == Active \Model Length Validator module Validations class LengthValidator < EachValidator # :nodoc: MESSAGES = { is: :wrong_length, minimum: :too_short, maximum: :too_long }.freeze |