activeadmin_addons
activeadmin_addons copied to clipboard
ajax_filter for association fields?
The following method doesn't work as expected for has_many through associations
https://github.com/platanus/activeadmin_addons/blob/25dfc052734b59ff6010d93cc39af3387bff5379/app/inputs/ajax_filter_input.rb#L33-L43
e.g:
class A < ApplicationRecord
has_many :a, dependent: :destroy
has_many :b, through: :a
end
# in ActiveAdmin
filter :a_b_id