Class Bullet::Detector::NPlusOneQuery
In: lib/bullet/detector/n_plus_one_query.rb
Parent: Association

Methods

Public Class methods

check if object => associations already exists in object_associations.

executed when object.assocations is called. first, it keeps this method call for object.association. then, it checks if this associations call is unpreload.

  if it is, keeps this unpreload associations and caller.

decide whether the object.associations is unpreloaded or not.

[Validate]