# File lib/active_support/core_ext/array/conversions.rb, line 53 def to_query(key) prefix = "#{key}[]" collect { |value| value.to_query(prefix) }.join '&' end