paranoia issue with ransack on applying filter

214 Views Asked by At

I am using

gem 'paranoia', '> 2.3.1'
gem 'ransack', '> 1.8', '>= 1.8.7'

and on applying the filter it is not working perfectly can anybody tell me what is the issue or do I need to add extra configurations to make paranoia runnable with ransack?

And without paranoia filters are perfectly working fine.

1

There are 1 best solutions below

1
On

Adding belongs_to :child, -> { with_deleted } helps, but doesn't work for joins and eager-loading before Rails 5.2

Hope this will help.