提交 1883f377 编写于 作者: M Mehmet Emin İNAÇ

Add missing method name to exception description

上级 6ffec3c1
......@@ -971,7 +971,7 @@ def <<(*records)
alias_method :append, :<<
def prepend(*args)
raise NoMethodError, "prepend on association is not defined. Please use << or append"
raise NoMethodError, "prepend on association is not defined. Please use <<, push or append"
end
# Equivalent to +delete_all+. The difference is that returns +self+, instead
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册