class Bullet::Detector::Association
def add_object_associations(object, associations)
Experimental RBS support (using type sampling data from the type_fusion
project).
def add_object_associations: ((User | UserTrade) object, Symbol associations) -> Set
This signature was generated using 8 samples from 1 application.
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.bullet_primary_key_value Bullet.debug( 'Detector::Association#add_object_associations', "object: #{object.bullet_key}, associations: #{associations}" ) call_stacks.add(object.bullet_key) object_associations.add(object.bullet_key, associations) end