lib/active_scaffold/helpers/search_column_helpers.rb
# This method decides which input to use for the given column.
# It does not do any rendering. It only decides which method is responsible for rendering.
This method decides which input to use for the given column.
It does not do any rendering. It only decides which method is responsible for rendering.
This method decides which input to use for the given column . It does not do any rendering . It only decides which method is responsible for rendering .
def field_search_params_range_values(column)
        values = field_search_params[column.name.to_s]
        return nil unless values.is_a? Hash
        [values['opt'], values['from'].presence, values['to'].presence]
      end
def field_search_params_range_values ( column ) values = field_search_params [ column . name . to_s ] return nil unless values . is_a? Hash [ values [ 'opt' ] , values [ 'from' ] . presence , values [ 'to' ] . presence ] end
This method decides which input to use for the given column.
This method decides which input to use for the given column .
column
<not_specific>