# File lib/bullet/active_record42.rb, line 96 def find_with_associations return origin_find_with_associations { |r| yield r } if block_given? records = origin_find_with_associations if Bullet.start? associations = (eager_load_values + includes_values).uniq records.each do |record| Bullet::Detector::Association.add_object_associations(record, associations) end Bullet::Detector::UnusedEagerLoading.add_eager_loadings(records, associations) end records end