未验证 提交 64024265 编写于 作者: R Ryuta Kamizono 提交者: GitHub

Merge pull request #31471 from yhirano55/inherit_active_record_base

[ci skip] Inherit ActiveRecord::Base in example codes
......@@ -232,7 +232,7 @@ module ActiveRecord
#
# For example:
#
# class Topic
# class Topic < ActiveRecord::Base
# has_many :children
#
# after_save :log_children
......@@ -257,7 +257,7 @@ module ActiveRecord
#
# For example:
#
# class Topic
# class Topic < ActiveRecord::Base
# has_many :children
#
# after_commit :log_children
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册