Merge pull request #39840 from PhilCoggins/api_doc_fix

Docs: ActiveRecord::QueryMethods#joins Fixes SQL output

[ci skip]
This commit is contained in:
Ryuta Kamizono 2020-07-15 12:12:53 +09:00 committed by GitHub
commit 649b77b667
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -503,8 +503,7 @@ def unscope!(*args) # :nodoc:
# # SELECT "users".*
# # FROM "users"
# # INNER JOIN "posts" ON "posts"."user_id" = "users"."id"
# # INNER JOIN "comments" "comments_posts"
# # ON "comments_posts"."post_id" = "posts"."id"
# # INNER JOIN "comments" ON "comments"."post_id" = "posts"."id"
#
# You can use strings in order to customize your joins:
#