Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

triger a preload error on manual preloads on rails 6 #477

Closed
mahha0705 opened this issue Sep 21, 2019 · 1 comment
Closed

triger a preload error on manual preloads on rails 6 #477

mahha0705 opened this issue Sep 21, 2019 · 1 comment

Comments

@mahha0705
Copy link

mahha0705 commented Sep 21, 2019

I upgrade rails from 5.2 to 6 and bullet is 6.0.2

tests the following with request spec and response return 500 with UnoptimizedQueryError

  comment.update(post: post)
  Unused Eager Loading detected
  Comment => [:post]
  Remove from your finder: :includes =>  #[:post]

Pull request that merged #444 may be fix this error.
cause code still remains on only active_record60.rb.

@flyerhzm
Copy link
Owner

@mahha0705 I have already made the same change to active_record60.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants