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:
parent
b6081f3634
commit
d54fded536
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue