PS: Skipping this assignment 'recs.wf_filter = self' can solve the problem, but if the project uses the view components from this gem, there could be some breakage.
(refer: results.add_filter_condition @ app/views/will_filter/common/_results_table.html.erb)
I am getting the below error when using will_filter in Rails 5.0.1
The error trace shows the following snippet @ app/models/will_filter/filter.rb
PS: Skipping this assignment 'recs.wf_filter = self' can solve the problem, but if the project uses the view components from this gem, there could be some breakage. (refer: results.add_filter_condition @ app/views/will_filter/common/_results_table.html.erb)