diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-03-02 18:48:07 -0300 |
---|---|---|
committer | Rafael França <rafaelmfranca@gmail.com> | 2016-03-02 18:48:07 -0300 |
commit | 1c315ad502feb685c65f921b3af12ad15a627dcd (patch) | |
tree | 37e45bc62eb418fa3c18516b60c9d6ebb3d328ff | |
parent | 31b890309a18a223d845b647e36682e9363f5c5c (diff) | |
parent | 1f98eb60e59f4f70ef66ac2454ad029f46e3b27c (diff) | |
download | rails-1c315ad502feb685c65f921b3af12ad15a627dcd.tar.gz rails-1c315ad502feb685c65f921b3af12ad15a627dcd.tar.bz2 rails-1c315ad502feb685c65f921b3af12ad15a627dcd.zip |
Merge pull request #24011 from gsamokovarov/ar-persistence-api-docs-fix
Fix a small template misrender in ActiveRecord::Persistence
-rw-r--r-- | activerecord/lib/active_record/persistence.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/persistence.rb b/activerecord/lib/active_record/persistence.rb index d9a394fb71..afed5e5e85 100644 --- a/activerecord/lib/active_record/persistence.rb +++ b/activerecord/lib/active_record/persistence.rb @@ -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) |