Class: ActiveAdmin::Inputs::Filters::BooleanInput
- Inherits:
 - 
      Formtastic::Inputs::SelectInput
      
        
- Object
 - Formtastic::Inputs::SelectInput
 - ActiveAdmin::Inputs::Filters::BooleanInput
 
 
- Includes:
 - Base
 
- Defined in:
 - lib/active_admin/inputs/filters/boolean_input.rb
 
Instance Method Summary collapse
- 
  
    
      #include_blank  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Provide the AA translation to the blank input field.
 - #input_html_options_name ⇒ Object
 - #input_name ⇒ Object
 
Methods included from Base
#collection_from_options, #input_wrapping, #label_from_options, #required?, #wrapper_html_options
Methods included from Filters::FormtasticAddons
#column, #column_for, #has_predicate?, #humanized_method_name, #klass, #polymorphic_foreign_type?, #reflection_for, #scope?, #searchable_has_many_through?, #seems_searchable?
Methods included from Formtastic::Inputs::Base
Instance Method Details
#include_blank ⇒ Object
Provide the AA translation to the blank input field.
      19 20 21  | 
    
      # File 'lib/active_admin/inputs/filters/boolean_input.rb', line 19 def include_blank I18n.t "active_admin.any" if super end  | 
  
#input_html_options_name ⇒ Object
      14 15 16  | 
    
      # File 'lib/active_admin/inputs/filters/boolean_input.rb', line 14 def "#{object_name}[#{input_name}]" # was "#{object_name}[#{association_primary_key}]" end  | 
  
#input_name ⇒ Object
      8 9 10 11 12  | 
    
      # File 'lib/active_admin/inputs/filters/boolean_input.rb', line 8 def input_name return method if seems_searchable? "#{method}_eq" end  |