aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-08-26 14:43:35 +0900
committerGitHub <noreply@github.com>2017-08-26 14:43:35 +0900
commit0e2c0cc18393abdc5518498490acf20c4fd8e546 (patch)
treed792aa089cc09f6f91b4a5d2229ca3d6371c4a79 /activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb
parent3d5b9e0efb533d9d54ceaf68a476284566c2300c (diff)
parentcd949fa2881b1cd7c0ce04079a0835cab867a2d6 (diff)
downloadrails-0e2c0cc18393abdc5518498490acf20c4fd8e546.tar.gz
rails-0e2c0cc18393abdc5518498490acf20c4fd8e546.tar.bz2
rails-0e2c0cc18393abdc5518498490acf20c4fd8e546.zip
Merge pull request #30403 from yhirano55/fix_broken_doc_for_active_record
Fix broken doc for Active Record [ci skip]
Diffstat (limited to 'activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb')
-rw-r--r--activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb b/activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb
index 13b4a084ea..4ce3474bd5 100644
--- a/activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb
+++ b/activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb
@@ -1,8 +1,8 @@
# frozen_string_literal: true
module ActiveRecord
- # = Active Record Belongs To Polymorphic Association
module Associations
+ # = Active Record Belongs To Polymorphic Association
class BelongsToPolymorphicAssociation < BelongsToAssociation #:nodoc:
def klass
type = owner[reflection.foreign_type]