aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2015-03-07 01:02:40 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2015-03-07 01:02:40 +0100
commit387e7be458338db110f8a1ceeaf5952b39133a08 (patch)
tree3c548e11878f1d52d6eb60b32766d8143a18e290 /activerecord/lib/active_record
parent809527b282051691d00cee6a44c8e87c5b2adec5 (diff)
parent6fe13e52964cea6dadbb47c1601c2c11d2dd126f (diff)
downloadrails-387e7be458338db110f8a1ceeaf5952b39133a08.tar.gz
rails-387e7be458338db110f8a1ceeaf5952b39133a08.tar.bz2
rails-387e7be458338db110f8a1ceeaf5952b39133a08.zip
Merge pull request #19234 from sivsushruth/doc_fix
Doc fix [ci skip]
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/associations/through_association.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/through_association.rb b/activerecord/lib/active_record/associations/through_association.rb
index 3ce9cffdbc..af1bce523c 100644
--- a/activerecord/lib/active_record/associations/through_association.rb
+++ b/activerecord/lib/active_record/associations/through_association.rb
@@ -33,7 +33,7 @@ module ActiveRecord
# Construct attributes for :through pointing to owner and associate. This is used by the
# methods which create and delete records on the association.
#
- # We only support indirectly modifying through associations which has a belongs_to source.
+ # We only support indirectly modifying through associations which have a belongs_to source.
# This is the "has_many :tags, through: :taggings" situation, where the join model
# typically has a belongs_to on both side. In other words, associations which could also
# be represented as has_and_belongs_to_many associations.