Open sushant12 opened 6 years ago
This n+1 is still present. I opened the class and removed includes(:item)
and it didn't fix it for me, but I was probably doing something wrong.
Just in case anybody needs a resolution for this, installing the ArLazyPreload gem fixes all N+1 errors for RailsAdmin and makes it super fast.
https://github.com/sferik/rails_admin/blob/master/lib/rails_admin/extensions/paper_trail/auditing_adapter.rb#L68 this line gives n+1 error when using bullet gem.
I removed the
includes(:item)
and the n+1 alert was then solved.