I moved it to proper file lib/active_admin/inputs/filter_string_input.rb