提交 9856baf0 编写于 作者: J Juanito Fatas

Clarify that t.references and t.belongs_to are interchangeable. [ci skip]

上级 2675a57f
......@@ -401,7 +401,7 @@ def timestamps(*args)
# Adds a reference. Optionally adds a +type+ column, if the
# +:polymorphic+ option is provided. +references+ and +belongs_to+
# are acceptable. The reference column will be an +integer+ by default,
# are interchangeable. The reference column will be an +integer+ by default,
# the +:type+ option can be used to specify a different type. A foreign
# key will be created if the +:foreign_key+ option is passed.
#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册