module Bullet::ActiveRecord

def call

def call
  if Bullet.start?
    @preloaders.each do |preloader|
      preloader.records.each { |record|
        Bullet::Detector::Association.add_object_associations(record, preloader.associations)
      }
      Bullet::Detector::UnusedEagerLoading.add_eager_loadings(preloader.records, preloader.associations)
    end
  end
  super
end