提交 11f5434a 编写于 作者: G Georg Ledermann 提交者: GitHub

Fix typo in deprecation message

This fixes a copy-and-paste-issue slipped in by #18996
上级 29f097c5
......@@ -372,7 +372,7 @@ def add_on_blank(attributes, options = {})
To achieve the same use:
errors.add(attribute, :empty, options) if value.blank?
errors.add(attribute, :blank, options) if value.blank?
MESSAGE
Array(attributes).each do |attribute|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册