# File lib/bullet/detector/n_plus_one_query.rb, line 47 def add_inversed_object(object, association) return unless Bullet.start? return unless Bullet.n_plus_one_query_enable? return unless object.primary_key_value Bullet.debug('Detector::NPlusOneQuery#add_inversed_object'.freeze, "object: #{object.bullet_key}, association: #{association}") inversed_objects.add object.bullet_key, association end