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

Docs: ActiveRecord::QueryMethods#joins Fixes SQL output

This commit is contained in:
Phil Coggins 2020-07-14 07:22:00 -06:00
parent b6081f3634
commit d54fded536

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:
#