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