method
preloader_for
v6.1.3.1 -
Show latest stable
- Class:
ActiveRecord::Associations::Preloader
preloader_for(reflection, owners)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.