mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[ci skip] Inherit ActiveRecord::Base in example codes
This commit is contained in:
parent
06dbc028da
commit
6d65c0f077
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue