I am trying to accept a multi-dimensional array using strong_params.
I was using:
params.require(:name).permit(array_param: []) and it was working fine for regular arrays.
Now I got a multi-dimensional array format I have to deal with. The previous solution is not working for the following case.
[[1],[2],[2,1]] I would gladly appreciate some guidance. Thanks!