class Bullet::Detector::CounterCache

def create_notification(klazz, associations)

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