eager_load(*args)
Instance Public methods
Forces eager loading by performing a LEFT OUTER JOIN on args
:
User.eager_load(:posts) => SELECT "users"."id" AS t0_r0, "users"."name" AS t0_r1, ... FROM "users" LEFT OUTER JOIN "posts" ON "posts"."user_id" = "users"."id"
Please login to continue.