3 ms·
I would recommend not using `includes` but using `joins`, `eager_load`, or `preload` depending on what you want to do. It's more explicit.
by dorianmariefr 4y ago
I would recommend not using `includes` but using `joins`, `eager_load`, or `preload` depending on what you want to do. It's more explicit.
- pawurb 4y agoIn most cases includes gets the job done, but I agree that sometimes explicitly choosing the eager loading method is needed.