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.

A cheatsheet to help you preload associations!

Subscribe to get the cheatsheet and weekly articles, tips and fixes for Ruby and Ruby on Rails developers.

    We respect your privacy. Unsubscribe at any time.

    Related articles