Merge pull request #31471 from yhirano55/inherit_active_record_base

[ci skip] Inherit ActiveRecord::Base in example codes
This commit is contained in:
Ryuta Kamizono 2017-12-15 16:39:27 +09:00 committed by GitHub
commit 640242654c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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