Benito Serna Tips and tools for Ruby on Rails developers

Preloading associations cheatsheet

November 19, 2021

Maybe you are already familiar with includes or preload, but you know that a lot of the time you will need more than just preload(:comments).

I have already share with you a guide for preloading associations

It starts with the basics, with just a regular has_manypreload orincludes, and build from this to then show you things like…

Now I want to share with you a little cheatsheet that covers the same but in a condensed way.

It could be useful as a first read of the content or as a tool to remember hints of the different topics or methods.

Related articles