1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

View file

@ -503,8 +503,7 @@ module ActiveRecord
# # 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:
#