class Bullet::Detector::CounterCache
def create_notification(klazz, associations)
def create_notification(klazz, associations) notify_associations = Array(associations) - Bullet.get_whitelist_associations(:counter_cache, klazz) if notify_associations.present? notice = Bullet::Notification::CounterCache.new klazz, notify_associations Bullet.notification_collector.add notice end end