mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #24011 from gsamokovarov/ar-persistence-api-docs-fix
Fix a small template misrender in ActiveRecord::Persistence
This commit is contained in:
commit
1c315ad502
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ module ActiveRecord
|
|||
# +instantiate+ instead of +new+, finder methods ensure they get new
|
||||
# instances of the appropriate class for each record.
|
||||
#
|
||||
# See +ActiveRecord::Inheritance#discriminate_class_for_record+ to see
|
||||
# See <tt>ActiveRecord::Inheritance#discriminate_class_for_record</tt> to see
|
||||
# how this "single-table" inheritance mapping is implemented.
|
||||
def instantiate(attributes, column_types = {})
|
||||
klass = discriminate_class_for_record(attributes)
|
||||
|
|
Loading…
Reference in a new issue