Merge pull request #43052 from p8/activerecord/change-joins-docs

Improve description of ActiveRecord.joins [ci-skip]
This commit is contained in:
Ryuta Kamizono 2021-08-19 21:26:44 +09:00 committed by GitHub
commit 64a3bb892f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -500,7 +500,7 @@ module ActiveRecord
self
end
# Performs a joins on +args+. The given symbol(s) should match the name of
# Performs JOINs on +args+. The given symbol(s) should match the name of
# the association(s).
#
# User.joins(:posts)
@ -538,7 +538,7 @@ module ActiveRecord
self
end
# Performs a left outer joins on +args+:
# Performs LEFT OUTER JOINs on +args+:
#
# User.left_outer_joins(:posts)
# => SELECT "users".* FROM "users" LEFT OUTER JOIN "posts" ON "posts"."user_id" = "users"."id"