I have an API written using jsonapi.rb and Ransack.
My model has a Car with color attribute, which is an integer or nil. I would like to be able to filter this attribute by multiple color numbers or empty values. It would look like this:
/cars?filter[color_in]=1,2,nil
Ransack can search by multiple values, or it can filter by null values. But how can I pass an empty value to Ransack here?