提交 187aad6a 编写于 作者: V Vijay Dev 提交者: GitHub

Merge pull request #26297 from ledermann/patch-1

Errors#add_on_blank: Fix typo in deprecation message
......@@ -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.
先完成此消息的编辑!
想要评论请 注册