Ok @Daxter where do you want me to put this?

In this method?

 # Returns the default filter type for a given attribute
      def default_input_type(method, options = {})
        if (column = column_for(method))
          case column.type
          when :date, :datetime
            return :date_range
          when :string, :text
            return :string
          when :integer
            return :select if reflection_for(method.to_s.gsub('_id','').to_sym)
            return :numeric
          when :float, :decimal
            return :numeric
          when :boolean
            return :boolean
          end
        end

        if (reflection = reflection_for(method))
          return :select if reflection.macro == :belongs_to && !reflection.options[:polymorphic]
        end
      end