class ActiveAdmin::Inputs::Filters::BooleanInput

Public Instance Methods

include_blank() click to toggle source

Provide the AA translation to the blank input field.

Calls superclass method
# File lib/active_admin/inputs/filters/boolean_input.rb, line 18
def include_blank
  I18n.t 'active_admin.any' if super
end
input_html_options_name() click to toggle source
# File lib/active_admin/inputs/filters/boolean_input.rb, line 13
def input_html_options_name
  "#{object_name}[#{input_name}]" # was "#{object_name}[#{association_primary_key}]"
end
input_name() click to toggle source
# File lib/active_admin/inputs/filters/boolean_input.rb, line 7
def input_name
  return method if seems_searchable?

  "#{method}_eq"
end