未验证 提交 3969de3e 编写于 作者: C Chris Fung

Add docs to ActiveRecord::Persistence#belongs_to_touch_method

[ci skip]
上级 e7f45d37
......@@ -593,6 +593,8 @@ def _raise_record_not_destroyed
@_association_destroy_exception = nil
end
# The name of the method used to touch a +belongs_to+ association when the
# +:touch+ option is used.
def belongs_to_touch_method
:touch
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册