Slide 7
Slide 7 text
#
LEFT_
OUTER_
JOINS
Author.left_outer_joins(:posts)
Author.left_joins :posts, :comments
SELECT "authors".* FROM "authors"
LEFT OUTER JOIN "posts" ON "posts"."author_id" = "authors"."id"
LEFT OUTER JOIN "comments" ON "comments"."author_id" = "authors"."id"