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
I upgrade bullet from 5.7.5 to 5.9.0 and the following spec fail.
it'should not detect unused preload associations'docomment=Comment.lastpost=Post.lastcomment.update(post: post)Bullet::Detector::UnusedEagerLoading.check_unused_preload_associationsexpect(Bullet::Detector::Association).not_tobe_has_unused_preload_associationsend
After digging, it looks like the bug was introduced at 582b2d4. In the spec, it misses the call check_unused_preload_associations and the spec fails. I opened a PR to show that #444.
The text was updated successfully, but these errors were encountered:
Also seeing the same behavior and have been on version 5.7.5 ever since last summer. Please look into merging the attached pr if it indeed fixes this issue. Thanks!
I upgrade bullet from 5.7.5 to 5.9.0 and the following spec fail.
After digging, it looks like the bug was introduced at 582b2d4. In the spec, it misses the call
check_unused_preload_associations
and the spec fails. I opened a PR to show that #444.The text was updated successfully, but these errors were encountered: