You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Broadly, how do we get Bullet to ignore polymorphic associations? It complains that they aren't eagerly loaded, but later complains that they are polymorphic.
Update: I found Bullet.add_safelist to exclude each specific scenario
I am getting these:
The association is polymorphic so I can't add an include so I added a whitelist:
Bullet.add_whitelist type: :unused_eager_loading, class_name: "ActivityTask", association: :taskable
The bullet warnings persist even after adding this.
The text was updated successfully, but these errors were encountered: