module Bullet::ActiveRecord
def find_with_associations
def find_with_associations records = origin_find_with_associations if Bullet.start? associations = (eager_load_values + includes_values).uniq records.each { |record| Bullet::Detector::Association.add_object_associations(record, associations) } Bullet::Detector::UnusedEagerLoading.add_eager_loadings(records, associations) end records end