I came across some direct usage of ActiveRecord::Associations::Preloader
in our app and was wondering if anyone knew if this is a public API?
It’s documented in the source code but doesn’t seem to be documented on api.rubyonrails.org: ActiveRecord::Associations::Preloader
I’m guessing inspiration came from this article: https://blog.saeloun.com/2020/01/08/activerecord-database-performance-n-1-includes-preload-eager-load-pluck.htmlWas