I have simple active admin filter in my Parent
resource:
filter :child_id, :as => :check_boxes, :collection => proc { Child.all }
filter :child_id_not, :as => :check_boxes, :collection => proc { Child.all }
I want to get all Parent resources that are or not associated with Child resource (has_and_belongs_to_many). Works not bad, but when I select for example two childs in first filter active admin returns all Parent resources that are associated with first one OR the second one. I need "AND" operator for both (:child_id and :child_id_not).
Any workarounds?