提交 cb714570 编写于 作者: J José Valim

Merge pull request #3823 from avakhov/av-length-validation-exception-msg-fix

Fix argument error message for length validation
......@@ -23,7 +23,7 @@ def check_validity!
keys = CHECKS.keys & options.keys
if keys.empty?
raise ArgumentError, 'Range unspecified. Specify the :within, :maximum, :minimum, or :is option.'
raise ArgumentError, 'Range unspecified. Specify the :in, :within, :maximum, :minimum, or :is option.'
end
keys.each do |key|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册