lib/active_scaffold/helpers/search_column_helpers.rb
# we can't use active_scaffold_input_boolean because we need to have a nil value even when column can't be null
# to decide whether search for this field or not
we can't use active_scaffold_input_boolean because we need to have a nil value even when column can't be null
to decide whether search for this field or not
we can ' t use active_scaffold_input_boolean because we need to have a nil value even when column can ' t be null to decide whether search for this field or not
def active_scaffold_search_boolean(column, options)
        select_options = []
        select_options << [as_(:_select_), nil]
        select_options << [as_(:true), true] 
        select_options << [as_(:false), false] 
        select_tag(options[:name], options_for_select(select_options, ActiveScaffold::Core.column_type_cast(options[:value], column.column)), :id => options[:id])
      end
def active_scaffold_search_boolean ( column , options ) select_options = [ ] select_options << [ as_ ( :_select_ ) , nil ] select_options << [ as_ ( :true ) , true ] select_options << [ as_ ( :false ) , false ] select_tag ( options [ :name ] , options_for_select ( select_options , ActiveScaffold :: Core . column_type_cast ( options [ :value ] , column . column ) ) , :id => options [ :id ] ) end
we can't use active_scaffold_input_boolean because we need to have a nil value even when column can't be null
to decide whether search for this field or not
we can ' t use active_scaffold_input_boolean because we need to have a nil value even when column can ' t be null to decide whether search for this field or not
# rubocop:disable Lint/BooleanSymbol # rubocop:disable Lint/BooleanSymbol
column
<not_specific>
options
<not_specific>