module Watchdocs::Rails::Helpers::QueryStringHelper

Public Instance Methods

parse_query_string(params) click to toggle source
# File lib/watchdocs/rails/helpers/query_string_helper.rb, line 5
def parse_query_string(params)
  filter_data(
    Rack::Utils.parse_nested_query(params)
  )
rescue StandardError
  $stderr.puts "Query String format not supported. String: #{params}"
  {}
end