preload(*args)
Instance Public methods
Allows preloading of args
, in the same way that
includes
does:
1 2 | User.preload( :posts ) => SELECT "posts" .* FROM "posts" WHERE "posts" . "user_id" IN ( 1 , 2 , 3 ) |
Allows preloading of args
, in the same way that
includes
does:
1 2 | User.preload( :posts ) => SELECT "posts" .* FROM "posts" WHERE "posts" . "user_id" IN ( 1 , 2 , 3 ) |
Designed by : w10schools
service@w10schools.com
Please login to continue.