# File lib/bullet/active_record52.rb, line 60 def preloaders_for_one(association, records, scope) if Bullet.start? records.compact! if records.first.class.name !~ /^HABTM_/ records.each do |record| Bullet::Detector::Association.add_object_associations(record, association) end Bullet::Detector::UnusedEagerLoading.add_eager_loadings(records, association) end end super end