Skip to content

Commit

Permalink
[ci skip] do not use backticks in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nvasilevski committed Sep 27, 2023
1 parent 01743dd commit 92a8513
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions activerecord/lib/active_record/associations.rb
Expand Up @@ -1505,7 +1505,7 @@ module ClassMethods
# [+:query_constraints+]
# Serves as a composite foreign key. Defines the list of columns to be used to query the associated object.
# This is an optional option. By default Rails will attempt to derive the value automatically.
# When the value is set the Array size must match associated model's primary key or `query_constraints` size.
# When the value is set the Array size must match associated model's primary key or +query_constraints+ size.
#
# Option examples:
# has_many :comments, -> { order("posted_on") }
Expand Down Expand Up @@ -1689,7 +1689,7 @@ def has_many(name, scope = nil, **options, &extension)
# [+:query_constraints+]
# Serves as a composite foreign key. Defines the list of columns to be used to query the associated object.
# This is an optional option. By default Rails will attempt to derive the value automatically.
# When the value is set the Array size must match associated model's primary key or `query_constraints` size.
# When the value is set the Array size must match associated model's primary key or +query_constraints+ size.
#
# Option examples:
# has_one :credit_card, dependent: :destroy # destroys the associated credit card
Expand Down Expand Up @@ -1866,7 +1866,7 @@ def has_one(name, scope = nil, **options)
# [+:query_constraints+]
# Serves as a composite foreign key. Defines the list of columns to be used to query the associated object.
# This is an optional option. By default Rails will attempt to derive the value automatically.
# When the value is set the Array size must match associated model's primary key or `query_constraints` size.
# When the value is set the Array size must match associated model's primary key or +query_constraints+ size.
#
# Option examples:
# belongs_to :firm, foreign_key: "client_of"
Expand Down

0 comments on commit 92a8513

Please sign in to comment.