Rails provides a simple interface to pass an array as a query string.
Lets say we have an array:
platforms_ids = [0, 1, 2]
We can pass that to our endpoint as follows:
And in our controller action, we can access those
params[:platform_ids] => [0, 1, 2]