rails/rails — comment on commit 8775ffa37231d381cba34f0ecacb8a7bbcf0573f
File:  line 0
By josevalim:

def to_params
@to_params ||= to_hash.map do |key, value|
"#{key}=#{value}"
end.join("&")
end

FTFY.