[ci skip] Inherit ActiveRecord::Base in example codes

This commit is contained in:
Yoshiyuki Hirano 2017-12-15 16:32:58 +09:00
parent 06dbc028da
commit 6d65c0f077

@ -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