lib/event_inventory/format_helper.rb
# Formats and escapes query values for use in a query string.
Formats and escapes query values for use in a query string.
Formats and escapes query values for use in a query string .
def format_query_value(value)
      value = case value
        when Time, Date then value.to_s(:db)
        else value.to_s
      end
      CGI.escape(value)
    end
def format_query_value ( value ) value = case value when Time , Date then value . to_s ( :db ) else value . to_s end CGI . escape ( value ) end
Formats and escapes query values for use in a query string.
Formats and escapes query values for use in a query string .
value
<not_specific>