I need to filter data in a table. To do this, I found meta_search gem. I installed meta_search and I get this error:
uninitialized constantActiveRecord::Associations::ClassMethods::JoinDependency
This is deprecated for Rails 4 (framework that I'm using). So, I installed ransack (rails 4 branch) (gem based on meta_search) and works beautifully. The problem is that I need to use the meta_search's collection_checks method to handle check boxes and this method does not exist in ransack. So, the question is: there is a method in ransack similar to collection_checks to manage checkboxes? or how can I do this?
I have this:

And I want to filter and get rows with cars, bikes or both
I'm not familiar with meta search but in Ransack (in Rails 4) you can use something like this:
MODELS:
Controller:
View:
You can also use gem for pagination if you still don't use one. I use Kaminari. In this case your controller and view could look like this:
Controller:
View: