未验证 提交 fd8261a1 编写于 作者: R Rafael França 提交者: Rafael Mendonça França

Merge pull request #36320 from XrXr/no-doc-prepend

[CI skip] Put :nodoc: on method that raises NoMethodError
上级 ec1e1717
......@@ -1029,7 +1029,7 @@ def <<(*records)
alias_method :append, :<<
alias_method :concat, :<<
def prepend(*args)
def prepend(*args) # :nodoc:
raise NoMethodError, "prepend on association is not defined. Please use <<, push or append"
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册