Rails 5 GET request nested array parameter changes unexpectedly
问题 I have upgraded a Rails 4 application to Rails 5 (5.2.4.1 to be exact). I have a GET endpoint in my code with an rspec test. The test code sends the request as: get :fetch, params: { id: 123, logs: [[1, 2, :weekly], [1, 4, :mothly]] } When the controller receives the request, params['logs'] contains [["1"], ["2"], ["weekly"], ["1"], ["4"], ["monthly"]] This is different from what I expected, which is [["1", "2", "weekly"], ["1", "4", "monthly"]] The incoming URL contains (after decoding the