diff options
author | Genadi Samokovarov <gsamokovarov@gmail.com> | 2016-03-02 23:32:52 +0200 |
---|---|---|
committer | Genadi Samokovarov <gsamokovarov@gmail.com> | 2016-03-02 23:32:52 +0200 |
commit | 1f98eb60e59f4f70ef66ac2454ad029f46e3b27c (patch) | |
tree | 37e45bc62eb418fa3c18516b60c9d6ebb3d328ff /activerecord | |
parent | 31b890309a18a223d845b647e36682e9363f5c5c (diff) | |
download | rails-1f98eb60e59f4f70ef66ac2454ad029f46e3b27c.tar.gz rails-1f98eb60e59f4f70ef66ac2454ad029f46e3b27c.tar.bz2 rails-1f98eb60e59f4f70ef66ac2454ad029f46e3b27c.zip |
Fix a small template misrender in ActiveRecord::Persistence
See the end of [this] page.
[ci skip]
[this]: http://edgeapi.rubyonrails.org/classes/ActiveRecord/Persistence/ClassMethods.html#method-i-create
Diffstat (limited to 'activerecord')
-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) |