method
preloader_for
v7.1.3.4 -
Show latest stable
- Class:
ActiveRecord::Associations::Preloader::Branch
preloader_for(reflection)private
Returns a class containing the logic needed to load preload the data and attach it to a relation. The class returned implements a `run` method that accepts a preloader.