Skip to content

Commit 64a3bb8

Browse files
authored
Merge pull request rails#43052 from p8/activerecord/change-joins-docs
Improve description of ActiveRecord.joins [ci-skip]
2 parents 6b59158 + bdd7e24 commit 64a3bb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

activerecord/lib/active_record/relation/query_methods.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ def unscope!(*args) # :nodoc:
500500
self
501501
end
502502

503-
# Performs a joins on +args+. The given symbol(s) should match the name of
503+
# Performs JOINs on +args+. The given symbol(s) should match the name of
504504
# the association(s).
505505
#
506506
# User.joins(:posts)
@@ -538,7 +538,7 @@ def joins!(*args) # :nodoc:
538538
self
539539
end
540540

541-
# Performs a left outer joins on +args+:
541+
# Performs LEFT OUTER JOINs on +args+:
542542
#
543543
# User.left_outer_joins(:posts)
544544
# => SELECT "users".* FROM "users" LEFT OUTER JOIN "posts" ON "posts"."user_id" = "users"."id"

0 commit comments

Comments
 (0)