Skip to content

Commit ca37289

Browse files
committed
Fix RDoc markup
1 parent d3c6f48 commit ca37289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/lib/active_record/associations.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1415,7 +1415,7 @@ def has_many(name, scope = nil, **options, &extension)
14151415
# [+:through+]
14161416
# Specifies an association through which to perform the query.
14171417
#
1418-
# The through association must be a `has_one`, `has_one :through`, or non-polymorphic `belongs_to`.
1418+
# The through association must be a +has_one+, <tt>has_one :through</tt>, or non-polymorphic +belongs_to+.
14191419
# That is, a non-polymorphic singular association. Options for <tt>:class_name</tt>, <tt>:primary_key</tt>,
14201420
# and <tt>:foreign_key</tt> are ignored, as the association uses the source reflection. You can only
14211421
# use a <tt>:through</tt> query through a #has_one or #belongs_to association on the join model.

0 commit comments

Comments
 (0)