class Bullet::Detector::Association

def add_object_associations(object, associations)

def add_object_associations(object, associations)
  return unless Bullet.start?
  return if !Bullet.n_plus_one_query_enable? && !Bullet.unused_eager_loading_enable?
  return unless object.id
  Bullet.debug("Detector::Association#add_object_associations", "object: #{object.bullet_ar_key}, associations: #{associations}")
  object_associations.add(object.bullet_ar_key, associations)
end