# File lib/bullet/detector/counter_cache.rb, line 28 def add_impossible_object(object) return unless Bullet.start? return unless Bullet.counter_cache_enable? return unless object.primary_key_value Bullet.debug('Detector::CounterCache#add_impossible_object', "object: #{object.bullet_key}") impossible_objects.add object.bullet_key end